- Posts: 76
- Thank you received: 3
Special characters, pdf invoice
11 years 5 months ago #198828
by NADEJDE
Special characters, pdf invoice was created 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.
-- 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.
11 years 5 months ago #198852
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Special characters, pdf invoice
Hi,
From where the texts are coming from ?
Is there product data ? Something from a translation ?
Regards,
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.
11 years 5 months ago #198947
by NADEJDE
Replied by NADEJDE on topic Special characters, pdf invoice
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.
11 years 5 months ago #199005
by nicolas
Replied by nicolas on topic Special characters, pdf invoice
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.
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