• I just downloaded and installed WordPress, the current issue I’m having is that Chinese characters won’t display. As I’m going to make a website for mainly Chinese people to go on and read, it’s very important that it’s able to display Chinese characters (preferrably both traditional and simplified).

    Edit: After adding the Chinese set of characters Big5 (traditional) to my Notepad++, it now displays them in Notepad++, but still not when I open the website in my browser, neither Chrome or Explorer.

    Does anyone know how to fix this? I’d appreciate it lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nible

    (@nible)

    I suppose I half figured it out? Apparently I can write Chinese in the WordPress editor, just not in the Notepad++. For now that seems good enough, but I wonder if it’ll cause problems in the future.

    Thread Starter Nible

    (@nible)

    As I suspected, I would face this problem again, this time while trying to output blog-post information, typing out the Chinese words for “by” and “posted in” using echo. Except for in the index.php file, it works everywhere, like in archive.php and search.php. Why is index.php different? Super frustrating.

    Here’s my code in the index.php (which outputs some random non-chinese characters):

    <p class="post-info"><?php the_time('M jS, Y'); ?> | <?php echo 由?>
    		<a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>"><?php the_author(); ?></a> | <?php echo 發佈在?>

    And here’s my code in the search.php (which outputs the Chinese characters as it should):

    `<p class=”post-info”><?php the_time(‘M jS, Y’); ?> | <?php echo 由?>
    <a href=”<?php echo get_author_posts_url(get_the_author_meta(‘ID’)); ?>”><?php the_author(); ?></a> | <?php echo 發佈在 ?>`

    Edit: To be clear, it outputs everything correctly in the code, however not on the actual website.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Can't display Chinese’ is closed to new replies.