February 16, 200620 yr comment_2561 sorry, I know there are already 2 related topics, I checked them, but I still need some more help (I a newby...) so, I would like to use latin2 charset (hungarian). there are no problems when I am displaying data got from MySQL, but some characters do not appear correctly in FPDF. In FPDF I am using an ISO-8859-2 (latin2) charset, I made the the font myself (built from Courier, and mapped it as in the fpdf documentation). However, characters appear correctly on the webpage, but only codes appear in the generated PDF (instead of the őű characters I got ő and ű). I dont know where the error is, because only data coming from MySQL appears incorrectly in the pdf file, same characters entered directly from the PHP code appear correctly. And this is what really is confusing me. Any idea? Was the problem description clear? Report
February 16, 200620 yr Author comment_2562 sorry, it seems that the forum translates correctly the codes for the characters in question. so the codes that appear instead of my ő and ű characters are the charcode: & # 369 ; and & # 337 ;. I hope now it will be displayed correctly. Report
February 17, 200620 yr comment_2563 utf8 unicode should display any character from any language correctly. For more information on unicode, visit this page. Known Languages:adv-XHTML, int-PHP, int-SQL, int-CSS, beg-PythonCurrently reading: Take off in Japanese, How to play popular piano in 10 easy lessons, The Magicians' GuildCurrently learning: Python, Piano, JapaneseCurrent project: RelaxingCurrently playing: Report
February 17, 200620 yr comment_2567 Also take a look here:http://wiki.uniformserver.com/Charset_Changing Best Regards Olajide Olaolorun The Uniform Server Development Team Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.