utf8 encoding


I am trying to upload some Swedish text into a mysql database. Before i upload it i am using the utf8_encode() function to translate it into utf8 format. This works fine on lowercase characters but it doesnt seem to do anything for uppercase. Does anyone know what the issue is with the uppercase?

At the moment i am having to translate the uppercase characters using htmlentities() so now i have a combination of utf8_encode() and htmlentities() in all my database text.


Take a look at this user note in the php reference manual: http://it.php.net/manual/en/function.utf8-encode.php#104906