Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi rogerio,

    what is your blog_charset option? To find out, go to wp-admin/options.php and see what value is written in the field named ?blog_charset?. What theme do you use? Does the problem persists, if you activate a default theme (twenty fifteen) and deactivate all other plugins?

    Kind regards
    David

    Thread Starter rogerio62

    (@rogerio62)

    Hi David,

    Thanks for your help.
    The blog_charset option on the Chinese site is: UTF-8.
    Current theme: Dusseldorf child (Düsseldorf is the original theme). I think this theme and MultilingualPress are part of the same company.

    Hi rogerio,

    they were part of the same company. However, can you investigate the HTTP-Response header if the Content-Type is set correct to text/html;charset=utf-8? What does actually stands in the HTML source code at the place you would expect 中文?

    Kind regards
    David

    Thread Starter rogerio62

    (@rogerio62)

    Hi David,

    Actually I’m using UTF-8 for all the languages. I put the Chinese site live. When you are in the Chinese site the Chinese characters appears in Language Selector. I guess because I chose in the MultilingualPress administration – Language: Chinese.
    Here is the URL:

    Thread Starter rogerio62

    (@rogerio62)

    Thread Starter rogerio62

    (@rogerio62)

    Stands two Question Marks “??” with a frame around them. You can see it as I put the site live.

    Where I find HTTP-Response header? (sorry for my ignorance).

    Best regards.
    Rogerio

    Thanks for the URL. I visited the site and some pages there but I didn’t found the place where the ?? are. E.g. the menu in the top left corner shows: 中文 ES IT PT FR EN DE

    Is it maybe a problem with your Browser? Are all Chinese characters broken or only some of them?

    Thread Starter rogerio62

    (@rogerio62)

    You are right. On Safari and Firefox it’s working, but, on Opera and Chrome not. Do you know how I could fix for those two browsers? I’m on Mac OS 10.11.4

    Not really. You should define explicitly a font with support for these characters in your stylesheet.

    Thread Starter rogerio62

    (@rogerio62)

    Hi David,

    Thanks a lot. I change the font and now it works with all the browsers.

    All the best.
    Rogerio

    Thread Starter rogerio62

    (@rogerio62)

    I forgot to Mark as resolved.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Language Selector with Chinese characters’ is closed to new replies.