Character encoding (charset) and echo (1 post)

  1. russellquinn
    Posted 9 years ago #

    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?


Topic Closed

This topic has been closed to new replies.

About this Topic