• Resolved Irina del Olmo

    (@irina-del-olmo)


    Hello,

    I am developing a bilingual site featuring Spanish and Chinese, but without using any plugin. The two languages ??on the same page, like this:
    Name / 名
    Surname / 姓

    But when publishing the page, changes the Chinese characters for questions???

    Anyone know how to get it?

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Irina,

    You need to call the proper encoding. Try with this:

    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">

    instead of UTF-8.

    Thread Starter Irina del Olmo

    (@irina-del-olmo)

    Hi Ryan,

    Thanks you for your answer!, could you tell me in which file should I put that code?

    HI Irina,

    The encoding meta tag would be placed in the header.php. There should be already utf-8 declared. If so, remove that line and add the code I wrote above.

    Thread Starter Irina del Olmo

    (@irina-del-olmo)

    I couldn’t find anything about UTF-8 but on wp-config.php file, where there’s this line
    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    I just found the solution, I think… by deleting utf8 and leaving the line like this define(‘DB_CHARSET’, ”);

    It seems to be working =)

    thank you!!

    Yep that would do an alternative way.

    Good to hear it’s been resolved ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bilingual page spanish chinese characters’ is closed to new replies.