Thanks, but using htmlentities() didn't help. I don't think this problem has got to do with html, as it should support these characters
<META HTTP-EQUIV="Content-type" CONTENT="text/html;charset=iso-8859-1">
I had the same problem when mailing the texts from the database.
I can't really understand how this problem occurs as PHP should use ISO-8859-1 by default (specifying this charset in php.ini didn't help), as should MySQL also. After being in contact with a newsgroup, used by people who also use these characters, I believe this problem doesn't occur on all platforms, e g not on Linux. I'm using NT4 WS SP6a, Apache 1.3, MySQL 3.23.35a and PHP 4.0.4pl1.
The nordic characters I use are 'ÅÄÖåäö', and these were converted into 'Ž™†„”'. As these "wrong characters" are used very rarely, I decided to simply use ereg_replace() to replace them with the correct characters, e g
$string = ereg_replace(143, 'Å', $string);
Also, as I didn't find the corresponding decimal number for "the wrong characters" in a ISO 8859-1 table
http://www.utoronto.ca/webdocs/HTMLdocs/NewHTML/iso_table.html
, I had to use ord() to get them.
johan