Heres my problem. I have a mysql table called quotes. In one of the rows, a quote contains the folloqing characters
‘ and ’
Now the row collation is utf8__unicode__ci
When using MySQL Query Browser and PHPMyAdmin to retrive the rows the quotes come out as intended. How ever when i retrive them from the database using PHP and display them on the screen they come out as boxes
� and �
My html page has UTF-8 encoding, and all the UTF-8 encoding options are set in php:
/* Set UTF-8 settings */
mb_internal_encoding('UTF-8');
mb_regex_encoding('UTF-8');
mb_http_output('UTF-8');
/* Set ICONV ini settings */
ini_set('iconv.input_encoding', 'UTF-8');
ini_set('iconv.output_encoding', 'UTF-8');
ini_set('iconv.internal_encoding', 'UTF-8');
/* Set ICONV function settings */
iconv_set_encoding('input_encoding', 'UTF-8');
iconv_set_encoding('output_encoding', 'UTF-8');
iconv_set_encoding('internal_encoding', 'UTF-8');
It seems to me that it should work. But it doesnt :S can anyone shed some light onto this please.