Since 28th December 2022, this plugin version has been discontinued for purchase. However, support will be continued for existing users. Post the aforementioned date, users who purchase the plugin, which now is made available as multiple add-ons, must refer to their corresponding setup guides. The drag-and-drop customizer feature is now available for purchase as an add-on.

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

Since 28th December 2022, this plugin version has been discontinued for purchase. However, support will be continued for existing users.

Home > Docs > WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels > How to fix the character encoding issues in WooCommerce PDF invoices plugin by WebToffee

How to fix the character encoding issues in WooCommerce PDF invoices plugin by WebToffee

Last updated on May 8, 2023

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.