ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

being able to write chinese characters in the forum (module)

July 10, 2011 12:04pm

Subscribe [2]
  • #1 / Jul 10, 2011 12:04pm

    mtin79

    17 posts

    hey expressionengineers,
    i stumbled upon a problem in the forum module.
    some people need to write chinese characters and are not able to.
    i thought installing the expressionengine system with utf-8 would allow the forum to use chinese characters as well but somehow it doesn`t. any clue where i can change the forum module to support chinese characters?
    thanks for help,
    martin

  • #2 / Jul 11, 2011 11:42am

    Sue Crocker

    26054 posts

    Hi, Martin.

    Can you post any of it here, for instance? I’m not that familiar with Chinese characters and the forum module.

  • #3 / Jul 12, 2011 11:21am

    mtin79

    17 posts

    hey sue,
    these are some of them:

  • #4 / Jul 12, 2011 2:21pm

    mtin79

    17 posts

    i went into phpmyadmin and had a look into the forum tables structure and saw that for example

    exp_forum_posts has as collation latin1_swedish_ci

    which is kinda strange as i installed ee to support utf-8 !?
    do i need to change every forum table`s structure collation? are there impacts when i do this`as the forum is in use allready.
    is this a bug which is fixed in a news forum module version?

    thanks for help.

  • #5 / Jul 13, 2011 6:23pm

    Sue Crocker

    26054 posts

    In EE 2.1.3 I can sort of replicate the problem

    http://eehowto.com/index.php/forums/viewthread/20/

    For instance, the first one shows, but the other two do not.

    I’ll need to test on 2.2.1 in a bit, but wanted to update the thread.

  • #6 / Jul 13, 2011 9:46pm

    mtin79

    17 posts

    hello sue,
    thanks for your update.
    did you read my last response regarding the mysql collation of the forum module tables although ee was installed in utf.
    how can i proceed from there? isn`t this just a encoding issue?

    thanks.

  • #7 / Jul 14, 2011 11:18pm

    Lisa Wess

    20502 posts

    Hi, mtin79 -

    EE uses the database as you set it up; EE itself is UTF-8 but it does not force a database collation.

    If you make a dev copy with the database collation set to utf-8, does that alleviate the problem?

    Thank you!

  • #8 / Jul 20, 2011 7:07am

    mtin79

    17 posts

    hello lisa and thanks for your reply!
    unfortunatelly i don`t how to make a “dev copy” of the database (what`s the procedure and if there are any risks for content which is allready in there).
    could you provide me a little more details?
    thanks a lot!

  • #9 / Jul 20, 2011 5:53pm

    Sue Crocker

    26054 posts

    Hi, mtin79.

    You’d take your existing database, export it using something like PHPMyAdmin, and create a local install of EE.

    Are you on a Windows machine or a Mac? I use MAMP for the Mac and WAMP for the PC. There would be no risk to the content, since you’d be working with a *copy* of your real database.

    Does that help?

  • #10 / Aug 18, 2011 4:11pm

    mtin79

    17 posts

    so in the end i changed all forum database tables to the utf-8 collation and it worked.

    took me a while to research for possible problems which might occur during the change. stack overflow was a big help on that.

  • #11 / Aug 18, 2011 5:16pm

    Lisa Wess

    20502 posts

    glad you got this figured out, mtin79 - and thank you for posting the solution.

    If you have any other questions, please start a new thread, thank you.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases