Jump to content

Unable to display the Japanese Yen sign ¥ in the PDF Invoices/Receipts


Recommended Posts

We are using 1.6.0.14 

We have set our Localization settings to Japanese Yen and the web shop is displaying the ¥ mark correctly in the product pages and the auto emails.

 

We cannot get it to display the ¥ mark in the PDF Invoices/Receipts.  It is showing the backslash \ mark instead.  Please see the attached PDF.

 

How do we fix this so that the  ¥ mark is displayed in the PDF invoices/receipts?

Link to comment
Share on other sites

I have no problems with it. Tested on Prestashop 1.6.1.16.

 

1) Perhaps it is a problem on your database collation. Check which one it is. I'm using utf8_general_ci. If you don't know what is this, check with your provider.

 

2) Perhaps you made some changes on the translations of the invoice template causing this error. Revert to original Prestashop files.

 

3) Perhaps a problem of the theme you are using as well...

 

I suggest you clone your shop, upgrade this clone and test. Before you upgrade deinstall all non-native addons (modules and theme). Test with native theme and modules only.

 

000003.pdf

 

PS: any change you make now will apply only on further invoices. On the one already created will take no effect.

Link to comment
Share on other sites

Check if you have set ¥ under Currencies > Symbol.

 

Basically, it is about fonts and displayed symbols that the fonts must support.

 

Edit: @selectshop.at

I see difference in file size between your and my example. The original invoice surely put the whole Japanese font to the invoice.

invoice000172.pdf

Edited by tuk66 (see edit history)
Link to comment
Share on other sites

 

Edit: @selectshop.at

I see difference in file size between your and my example. The original invoice surely put the whole Japanese font to the invoice.

The invoice is native. Installed PS 1.6.1.12 and than made only upgrades upto latest. No changes on core, or changes on files made here.. So it must be something coming natively with lang package I've installed (Portuguese). But in fact it is not the question treated here. Yen font is displaying and not a bug.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...