Jump to content

Recommended Posts

Posted

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!

Posted

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.

  • Administrators
Posted

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

Posted

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!

  • Administrators
Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...