Support » Fixing WordPress » UTF-8 problem… sigh

  • Resolved lehar001

    (@lehar001)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Add this code to your theme’s header.php file after <head>:
    <meta charset="UTF-8" />

    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…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘UTF-8 problem… sigh’ is closed to new replies.