WordPress.org

Ready to get started?Download WordPress

Forums

Character encoding (charset) and echo (1 post)

  1. russellquinn
    Member
    Posted 7 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.

    BUT

    If I add an:

    <?php echo "ØØØ"; ?>

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

    Any ideas?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic