Hi all.
I get som strange characters when parsing text from my mysql-database. All goes fine with regular text, but swedish characters (åäö,ÅÄÖ) is replaced by characters like these: åäö
I dont know if the problem lies in mysql or php.
Serverinfo:
Apache/2.0.39 (Win32) mod_auth_sspi/0.9.0 PHP/4.2.2
mysql version 3.23.39
Running on Windows XP
The critical code looks like this:
--
$q = "SELECT * FROM artiklar";
$res = mysql_query($q) or die(mysql_error());
while ($row = mysql_fetch_array($res)) {
echo $row['rubrik'];
}
--
And the fieldtype for 'artiklar' is varchar(80).
All help would be appreciated...