WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] UTF-8 problem... sigh (3 posts)

  1. lehar001
    Member
    Posted 2 years ago #

    Hello!

    I started out with a blank theme and the most recent Worpress version today and started transferring my index.html to my blank WordPress *.php files. Soon I ran into a problem. On my home page I have both static and dynamic content. For example i have a heading that says "Senaste nytt från bloggen" and then below that I'll have an excerpt of the latest blog post. Sadly, the Å Ä Ö characters doesnt work and just generate a "?" instead. They do however work in the dynamic content, for example in my blogposts.

    I'd very much appriciate your help!

    Thanks in advance!

  2. Felix Renicks
    Member
    Posted 2 years ago #

    Add this code to your theme's header.php file after <head>:
    <meta charset="UTF-8" />

  3. lehar001
    Member
    Posted 2 years ago #

    Thanks for your reply, but that doesn't change anything.

    The code that is there right now ` <meta charset="<?php bloginfo('charset'); ?>" />
    `
    should get the charset I have set in the admin panel I guess. Which is UTF-8...

Topic Closed

This topic has been closed to new replies.

About this Topic