note 74803 rejected from function.utf8-decode by tularis
| From: | tularis@php.net | Date: | Sat, 28 Apr 2007 08:39:23 +0000 |
| Subject: | note 74803 rejected from function.utf8-decode by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125943@lists.php.net to get a copy of this message | ||
Note Submitter: miskotes at yu-corner dot com
----
Hi everybody,
When talking about letter "Å " it is stored in MySql as "Ã
" <== Notice
the space!
So far I wasnt able to replace it using:
$filenameToUpper = str_replace('\xC5\xA0', 'S', $filenameToUpper); # Å
or
$filenameToUpper = str_replace('\xC5\x20', 'S', $filenameToUpper); # Å
or
#$filenameToUpper = str_replace('Ã
', 'S', $filenameToUpper); # Å
Or any other way known to me, anyway that's the only letter I have problems with.
Thank you...