Jump to content

Encoding Problem


island_air

Recommended Posts

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.

Link to comment
Share on other sites

  • Administrators

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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...