I have a website which has some non standard characters such as ë, Ç etc.
The website uses ISO-8859-1 as it’s character encoding, however at this point I want to switch it to UTF-8 for some reasons related to rss feeds.
When i change the character encoding to utf-8 the mentioned characters are displayed incorrectly.
I set the charset through the php header function:
header("Content-Type: text/html; charset=ISO-8859-1");
Any idea as to how to fix this problem ?
Never heard about entities ?
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references .
Else, you have to reencode your files (with your editor, you should be able to save your files specifying an encoding).
You can also do it with external programs, like iconv