• Resolved flush

    (@flush)


    Hi,
    When I type in Korean characters via the WordPress interface to create posts, catrgoties, links, etc it all works fine.
    But when I change text inside the php files (stuff like “email required”, etc) it then appears broken once online, unless I switch my browser to Korean encoding, but then all the Korean entered via wordpress appears broken because I’m no longer in utf-8.
    Why can’t I change text directly in the php files. Should I manually encode the files in utf-8 after I edited them?
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Why can’t I change text directly in the php files.

    Actually, you can. Just make sure you are using a text editor that has utf-8 support! The problem you described appears when your editor saves the files with “Korean” encoding instead of utf-8 encoding.
    In better text editors you can choose which encoding to use when save a file.

    Thread Starter flush

    (@flush)

    I use Notepad++, which surely has the option but I didn’t specify utf-8 encoding as the output format, I realize after checking that it was set on ANSI encoding.
    So you confirm that’s where the pb must have come from?

    So you confirm that’s where the pb must have come from?

    Yes, 200% ??
    You are not the first one with such an issue, and every time the solution suggested above worked.

    what about this prob:
    i use utf-8 and it works OK to display in “wordpress”, but i created a popup window for print-friendly version AND F(/#¤/# the chars displays wrong. i put the <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> but i doesn’t help..so i need to change encoding in firefox everytime i print that out..

    firefox or html?

    i think i found the solution…and u don’t have to change or mix with mysql.

    on the top of the top of the page. u just need to add:
    header('Content-type: text/html; charset=utf-8');

    the browser will translate/force to use utf-8

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘utf-8 encoding and asian characters’ is closed to new replies.