, ISO-8859-15 UTF8. , ISO-8859-1 UTF8.
-, ? mySQL, , , latin1 utf8?
UTF8- ( - PHP),
$string = 'café';
utf8_decode($string);
$string = 'café';
utf8_encode($string);
UTF8 , , PHPs utf8_encode() utf8_decode(), , .
If the utf8_encode or utf8_decode functions work, you should look at your input method and input encoding, as you are likely to find a problem there.
PS From time to time I have the same problems as in Brazil ... I feel your pain!
source
share