Special characters, pdf invoice

  • Posts: 76
  • Thank you received: 3
9 years 7 months ago #198828

-- 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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #198852

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 76
  • Thank you received: 3
9 years 7 months ago #198947

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.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
9 years 7 months ago #199005

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.058 seconds
Powered by Kunena Forum