island_air Posted July 5, 2010 Report Posted July 5, 2010 Tks for the awesome system fist of all. I have problems when typing Chinese. The site shows it in ????... Also, I changed some words like home, pilot center etc. into chinese, i have to change the encoding to BIG-5. How to avoid these problems? thanks Cheers! Quote
monkeypaw201 Posted July 5, 2010 Report Posted July 5, 2010 You know I know what the problem is, but I'm not sure I know the fix... If you MySQL Database's encoding is set correctly, the only thing I can think of is that your pages are set incorrectly (encoding is not my forte) but I do believe the meta tag below: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Should be changed to something that supports Chinese so the browser parses it correctly. Quote
Administrators Nabeel Posted July 5, 2010 Administrators Report Posted July 5, 2010 There's a few things to change... In the local.config.php, change the encoding for the page (PAGE_ENCODING) There's also a DB_CHARSET I believe it is, it might be in app.config.php so copy that into local.config.php and edit that as well. That should do it . There are comments in that file explaining in more detail Quote
island_air Posted July 7, 2010 Author Report Posted July 7, 2010 Didnt get it. For Lorenzo, what file should i find out to correct that..? For Nabeel, i tried to create a new local.config.php, and changed the encoding as Unicode. Unfortunately it doesnt work... could you tell me how to do..? i guess you meant this: # Page encoding options Config::Set('PAGE_ENCODING', 'UTF-8'); Config::Set('DB_CHARSET_NAME', 'big5'); should i change it like this... or how..? thank you all! Quote
Administrators Nabeel Posted July 8, 2010 Administrators Report Posted July 8, 2010 Don't create a new one, just copy/replace those settings in the existing one. I would perhaps leave the DB_CHARSET_NAME as utf8. What do you mean doesn't work, as-in, what's it doing? Quote
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.