Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author takien

    (@takien)

    It works here,
    make sure you set DB charset to utf-8.
    on your wp-config.php add this.
    define('DB_CHARSET', 'utf8');

    Thread Starter chrisyu

    (@chrisyu)

    But my db is not utf8 encoding, if I add the charset line, everything else messed up.

    I’ll convert my db to utf8 then test again, thanks.

    Plugin Author takien

    (@takien)

    is it solved?

    Thread Starter chrisyu

    (@chrisyu)

    I’ve converted my database to UTF-8, but the problem was not solved, same as mysql’s default encoding Latin1.

    Hi,
    I am facing the same problem with bengali language. neither converting database to utf-8 doesn’t solve the problem nor adding this define(‘DB_CHARSET’, ‘utf8’); to wp-config.php.

    What else can I do?

    Plugin Author takien

    (@takien)

    Try to wrap those character with “
    eg, “钢琴”

    same here..;(

    but wrapping with character make the content too complicated;(

    Plugin Author takien

    (@takien)

    How about put blank space before those characters?

    doesn’t work… only solution is to add special character, which really make it looks weird..;(

    I think my problem is essentially the same. I am trying to include ↓ and ↑ in a table and they don’t show up either.

    I’m writing a plugin, and trying also to insert Chinese characters.

    When I add the unicode characters to my blog post, it works fine. I converted them using this tool: https://www.pinyin.info/tools/converter/chars2uninumbers.html

    But still my plugin won’t work. It does convert the characters, and I can see them when I view source, but they aren’t displaying in my plugin, as if the area of the plugin is NOT using utf-8, while the rest of the page does fine.

    Can anyone point me in the right direction?

    I’ve tried utf8_encode() and utf8_decode()

    OK, another test indicates that the Chinese characters appear nicely in the plugin, but this plugin has hidden divs, and when the character is inside the div that is later exposed, the characters don’t show.

    The problem’s not solved, but I’m narrowing it down… ??

    Narrowed it down to my browser. Works fine on Chrome on Mac but not PC. On my PC, it works in Opera. Hmmm… It looks as though this one will go unsolved, and I will work-around.

    Funny though… even on PC w/Chrome, it works when it’s OUTSIDE of my div.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Chinese characters are not shown’ is closed to new replies.