stepanek Posted November 16, 2007 Share Posted November 16, 2007 Hi to all, I'm having big trouble getting a multi-language website working. The problem is that I can't get Czech, Romanian and Chinese to work within my custom cms. The characters do not show correctly eventhough they are correct in the database. In the beginning, I couldn't even enter these into the database manualy without some specific characters getting messed up. This problem I tackled by changing the latin1_swedish_ci to utf8_bin and this seems to work fine. Now my big problems are ; 1) somehow eventhough the text (characters) are in the database correctly and show correctly if I look through phpMyAdmin, they again show incorrectly when I call them up in my php file/website. (see attachments) 2) the same if I insert text through htmlArea editor, the text gets saved incorrectly. Could someone tell me how to solve this problem? Please let me know I'm completely lost on this one Thanks, Stepan Quote Link to comment Share on other sites More sharing options...
~n[EO]n~ Posted November 16, 2007 Share Posted November 16, 2007 you should encode your html / php file also in UTF-8 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Quote Link to comment 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.