NinaCreatus Posted August 13, 2010 Share Posted August 13, 2010 Hi!I'm a Prestashop user from Slovenia and I've been using Prestashop now for a month. Since the Slovenian language pack downladed from Prestashop.com is not working properly, I decided to do all the translation by myself. All was fine with that, until I tried to print out PDF files (invoice, etc.)I'm having troubles with getting special characters like š, Š, č, Č, ž, Ž (see the file attached) show properly in PDF files. Instead of those charactes I get some other ones, like Egrave and egrave, for example.I’ve already tried different combinations of Encoding and Font in BO (PDF Settings for my current language SI), but have had no luck so far. The ISO 3166 (ISO codes for countries) code is “si”,the ISO 639 (ISO codes for languages) code is “sl”.I searched the tools/fpdf/font/makefont to see if there is an iso-639.map maybe there (I'm assuming that maybe there lies the solution to this problem), where all characters for different encodings are defined, but no luck. There is no such file.Had anyone of you had a similar problem and has anyone managed to solve it yet? I think the solution to this problem could also be welcomed for Serbian, Croatian and other languages which use those special characters in .pdf files.I would be thankful, if anyone can help me find the solution to this problem.Thanks and best regards,NinaP.S.: if anyone is still having some other troubles, like pictures not showing up after changing to Friendly URL mode or something other, I'll be glad to help you. Link to comment Share on other sites More sharing options...
razaro Posted August 13, 2010 Share Posted August 13, 2010 Try to follow instructions from this topic it is for version 1.2.5 but similar is for 1.3.1 just it needs changes to defines.inc.php Link to comment Share on other sites More sharing options...
NinaCreatus Posted August 20, 2010 Author Share Posted August 20, 2010 Thank you, razaro, very much, for your response and your help. I will definitely try to implement the solutions on this link to my .php files and then report whether it worked.Best regards,Nina Link to comment Share on other sites More sharing options...
NinaCreatus Posted August 25, 2010 Author Share Posted August 25, 2010 Hi, razaro!I tried to follow the instructions, but no luck. They didn't work.Best regards,Nina Link to comment Share on other sites More sharing options...
Bruno Leveque Posted August 25, 2010 Share Posted August 25, 2010 Hi,Did you post this issue on our bug tracker?We would be pleased to solve it as soon as possible!Regards, Link to comment Share on other sites More sharing options...
NinaCreatus Posted August 25, 2010 Author Share Posted August 25, 2010 Hi, PrestaTeam!Thank you for your answer.Yes, I posted this answer to Bugtracker about a month ago, but haven't got an answer yet.This is a common problem by Prestashop users from Slovenia, Croatia, Serbia and other countries that uses those characters.I'm going to post this question on the Bug tracker right now.Thank you and best regards,Nina Link to comment Share on other sites More sharing options...
razaro Posted August 25, 2010 Share Posted August 25, 2010 Ok i followed this guide just this step is diferent 3. Edit the file: /config/config.inc.php it is /config/defines.inc.php and it displays ŠĐŽĆČ but i have problem with euro sign.Tried some solution from same topic and from here .Tried different combination in functions iconv(Tools.php) and convertsign (PDF.php) with no success.Only solution was to replace euro sign in Back Office >> Payment >> Currencies with EUR.I attached changed defines.inc.php and PDF.php so compare or backup and replace. pdf.zip Link to comment Share on other sites More sharing options...
NinaCreatus Posted September 12, 2010 Author Share Posted September 12, 2010 Hi, razaro!Thank you for your answer and your tip. I will try to follow these instructions and then let you know whether it worked for me.Best regards,Nina Link to comment Share on other sites More sharing options...
bossrafo Posted March 23, 2011 Share Posted March 23, 2011 Hi, razaro!Thank you for your answer and your tip. I will try to follow these instructions and then let you know whether it worked for me.Best regards,Nina Did it worked Link to comment Share on other sites More sharing options...
NinaCreatus Posted March 27, 2011 Author Share Posted March 27, 2011 Razaro, hi!Thank you for asking. I followed the detailed instructions, changed everything, but unfortunately with no success.I really do not what else to do. I even tried to follow some other instruction but also woth no luck.Thank you for your help.Best regards, Nina Link to comment Share on other sites More sharing options...
NinaCreatus Posted March 27, 2011 Author Share Posted March 27, 2011 One more thing - what happened after I had applied the changes was a blank page showing when I clicked on the .pdf invoice. But when I looked in the BO (PDF) I colud see the drop down list with different fonts and iso-. So some changes were seen and they did work, but the .pdf invoice didn't work because all I could see was a blank page.Razaro, do you maybe know what else could I do?Thank you,Nina Link to comment Share on other sites More sharing options...
SkyHiRider Posted July 29, 2011 Share Posted July 29, 2011 Ran into the same issue in 1.4.3 - invoices show a question mark (?) instead of š. Any simple solution available? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now