UTF-8 characters

Posted by & filed under HTML.

If you are getting weird characters when parsing RSS feeds (eg, Twitter) then use:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Do not use in conjunction with PHP utf8_decode() – but if you’re not using the above meta then the PHP function might work properly. But using both together you end up with question marks in the text.

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>