Support » Developing with WordPress » Character encoding (charset) and echo

  • I’m having problems figuring out a charset problem.

    WordPress is set to utf-8 (so the page header is utf-8).
    PHP.ini is set to utf-8

    If I write a new post in WordPress using “ØØØ” then it prints correctly.

    If I create a blank .php page on my server and echo “ØØØ” then it prints correctly.


    If I add an:

    <?php echo “ØØØ”; ?>

    to any of the WordPress templates that it displays in the wrong charset.

    Any ideas?


  • The topic ‘Character encoding (charset) and echo’ is closed to new replies.