ToonMariner Posted August 8, 2007 Share Posted August 8, 2007 I have decided to create a similar method as a resource file for my language pack. I have a table with a filed for each langugae and a filed for the key - this enables me to generate an array with the as listed in the database table and the corresponding string... OK great... When using characer sets like chinese and japanese I only see the <pre>??????</pre> or those infernal rectangles. My databse can store the characters as they are (looks like Chinese in there!!!) but the page just won't play ball I have. Will add this is on my onw development machine and not the live server... Any help would be much appreciated. (I use utf-8 as the encoding lang of the html page - is there some requirement for utf8_encode of is it something more fundamental). Quote Link to comment https://forums.phpfreaks.com/topic/63819-language-pack-help/ Share on other sites More sharing options...
teng84 Posted August 8, 2007 Share Posted August 8, 2007 i guess you have to install something in your ( pc) becuase when i run the chinese web site i also get this damn ???????? Quote Link to comment https://forums.phpfreaks.com/topic/63819-language-pack-help/#findComment-318067 Share on other sites More sharing options...
ToonMariner Posted August 8, 2007 Author Share Posted August 8, 2007 well thats the thing - if you use the translator on dictionary.com (http://dictionary.reference.com/translate/) and put in your word/phrase its spits out the chinese that I can see. if I cut and paste that directly into phpmyadmin it stores the string and appears as chinese. when I echo that out on my page i get the ?'s. If i try to paste the chinese chars into my html editor I get the rectangles. If I store the unicode [pre]请工作[/pre] I get the chars I want. go on miniclip and switch the language to chinese - if you look at the source code the chinese chars are in there..... Quote Link to comment https://forums.phpfreaks.com/topic/63819-language-pack-help/#findComment-318077 Share on other sites More sharing options...
ToonMariner Posted August 8, 2007 Author Share Posted August 8, 2007 sorry guys but #bump# Quote Link to comment https://forums.phpfreaks.com/topic/63819-language-pack-help/#findComment-318260 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.