This documentation is for the older version of the WooCommerce PDF Invoices, Packing Slips, Delivery Notes, and Shipping Labels plugin. If you are using the new version of the plugin, please note that this documentation no longer applies to you. Find the relevant documentation from here :

WooCommerce PDF Invoices, packing slips and credit notes plugin | WooCommerce Shipping labels, Dispatch labels and Delivery notes plugin | WooCommerce Address labels plugin | WooCommerce Picklists plugin | WooCommerce Proforma invoices plugin | Customizer for WooCommerce PDF Invoices

Home > Docs > WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels > How to Fix Character Encoding Issues in WooCommerce PDF Invoices

How to Fix Character Encoding Issues in WooCommerce PDF Invoices

Last updated on November 12, 2024

When using the WooCommerce PDF Invoice, Packing Slip, Delivery Notes, and Shipping Label plugin, you may encounter some character encoding issues with shipping documents. To fix this, you can use the free mPDF add-on by WebToffee.

Configuring mPDF

Once the mPDF add-on is installed, go to Invoice/Packing> General Settings> Advanced.

  • Choose Yes in Enable RTL support.
  • Dompdf, the in-built library to generate PDF documents will be defaulted in PDF library.
  • For better RTL integration, change the PDF library value to Mpdf.
  • Update Settings to save changes.
PDF library-Mpdf

The mPDF add-on supports nearly 12 RTL languages, including the majority of Asian languages. This plugin replaces dompdf with another library that supports RTL and all other Unicode languages including Hebrew and Arabic adding a better RTL integration for PDF documents.

mPDF-example
Sample pdf in Arabic using mPDF add-on

The mPDF add-on provides support for all languages including the Unicode standard. Know more about the plugin.