Skip to main content

Special characters, pdf invoice

More
11 years 5 months ago #198828 by NADEJDE
-- url of the page with the problem -- : www.coloidale.ro
-- HikaShop version -- : 2.4.0
-- Joomla version -- : last
-- PHP version -- : 5.5.41
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : not applicable

When sending the pdf invoice, the special character like ăîâşţ, for Romanian language, are replaced with a ? mark.

Now, we tried to follow zour advice in a previous post:

"Thanks to try to edit the files "plugins\hikashop\attachinvoice\attachinvoice.php" and "plugins\hikashop\attachinvoice\attachinvoice\invoice.php" with notepad++ and change the encodage by clicking on "encodage" and select "UTF-8 (without BOM)".

There was maybe an encodage issue after the last edition of that file."

We opened in Notepad each of those two files, and saved them in UTF-8, not ANSI.

Still, the behaviour is the same. We tried to select some other font in the plugin itself, but still no effect.

Please help us to solve this disturbing problem.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #198852 by Jerome
Hi,

From where the texts are coming from ?
Is there product data ? Something from a translation ?

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #198947 by NADEJDE
Indeed, it is the product name, and yes. It may come from the Falang translation, and this happens only in the pdf file.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #199005 by nicolas
Hi,

When you get special characters replaced by question marks in PDF invoices, it indicates that you selected a font that doesn't support these special characters in the "font" option of the PDF invoice plugin. So you need to edit the plugin settings via the Joomla plugins manager and use a different font, which will work with these characters.

Please Log in or Create an account to join the conversation.

Time to create page: 0.169 seconds
Powered by Kunena Forum