WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to Display Multi-byte Characters such as Korean, Japanese and etc? (11 posts)

  1. misty9
    Member
    Posted 6 years ago #

    Hi,

    Happy New Year!

    How can I display Korean, Japanese and other multi-byte characters in WordPress PAGES? FYI, Not sure if the following lines matter in my case, but they do exist in my wp-config.php. Thanks.

    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

  2. moshu
    Member
    Posted 6 years ago #

    If this is a new installation - leave those lines as they are. If it is an upgrade - delete them.

    You do NOT need anything special to display any kind of characters: utf-8 is universal and can handle any language.
    Just type into the post/Page content area in your preferred language.
    Note: copying and pasting from sources that have different encoding might cause problems, especially when the visual ediotr is turned on.

  3. misty9
    Member
    Posted 6 years ago #

    Visual editor is turned off. Encoding is set to Korean from the source page, the pasted words appears to be in Korean, but they turn into questions marks as soon as the Save button is pressed in WP Page.

  4. misty9
    Member
    Posted 6 years ago #

    I’ve found out that Windows Word Pad does the same thing unless I save it in the Rich Text Format.

    I am wondering how I can save the WP Page in Rich Text Format.

  5. moshu
    Member
    Posted 6 years ago #

    Encoding is set to Korean from the source page

    What is this? What is "from the source page"?
    I told you clearly above: the encoding MUST be utf-8. And you should NEVER edit any text in anything else than a plain text editor like Notepad.

  6. misty9
    Member
    Posted 6 years ago #

    Of course, the encoding is usually set to UTF-8. No editing. All I did was a test.

    After tried many things.I have tried encoding is set to Korean from the page where the text is.

    Regardless, WP Page can not display the foreign language.

    Thanks, Moshu. You must be tired working all day today. I remember that you had started before I did this morning. I got home this evening. There you are still working hard.

  7. moshu
    Member
    Posted 6 years ago #

    Regardless, WP Page can not display the foreign language.

    That is absolutely not correct.
    I have seen WordPress in many languages and helped set it up in quite a few different languages.

    Because you are doing something in the wrong way... it doesn't mean WP cannot display "foreign language".
    Read the Korean documentation if you don't believe me.

  8. misty9
    Member
    Posted 6 years ago #

    What I need is putting foreign excerpts in the English language blog. Not a foreign language blog.

  9. moshu
    Member
    Posted 6 years ago #

    It doesn't matter. You can have in one single post "excerpts" in 6,912 languages (the number of known languages today).

    Check out this:
    http://www.transycan.net/blogtest/2005/03/04/font-test/
    and scroll down to the last comment. Please, feel free to comment in Korean.

  10. misty9
    Member
    Posted 6 years ago #

    Yeah, thanks. I see you have entered some Korean there and works just great. Actually, I can't read Korean, but have a need to post a few words for special purposes from time to time.

    I saw some of your earlier posts that mentioning Gengo plugin, I wonder if I am missing that plug in.

  11. misty9
    Member
    Posted 6 years ago #

    hi Moshu,

    I wasn't sure if I had upgraded WP, perhaps I did. It WORKS :-) after removing these lines from wp-config.php:

    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    Thank you very much!

    Take a break!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.