WordPress.org

Ready to get started?Download WordPress

Forums

Danish characters in single.php look bad (5 posts)

  1. Mads Phikamphon
    Member
    Posted 7 years ago #

    I written some Danish texts in single.php that are supposed to appear around the post itself.

    I can see the single.php texts, but all the Danish characters (æ, ø, å) get messed up in both Firefox and Explorer.

    Instead of looking like Danish characters, they look like ? or strange Chinese characters.

    Any idea how I can fix this?

    Thanks, Mads

  2. moshu
    Member
    Posted 7 years ago #

    Make sure you save the template files with utf-8 encoding. Even Notepad has that option!

  3. Mads Phikamphon
    Member
    Posted 7 years ago #

    They have been saved with UTF-8 encoding, so the problem is elsewhere...

  4. moshu
    Member
    Posted 7 years ago #

    I don't think so!
    I have seen this error many times and it was alwasy because when editing the file the user did NOT save it with the correct encoding.
    Show me an example!

  5. Mads Phikamphon
    Member
    Posted 7 years ago #

    Oops, you were right - somehow I mixed up the files when did the uploading.

    Sorry about that.

Topic Closed

This topic has been closed to new replies.

About this Topic