I\'m having some issues with using PHP to convert ISO-8859-1 database content to UTF-8. I am running the following code to test:
// Connect to a latin1 charset d
this will solve your problem, supposing that your page header charset
is utf-8:
// Opens a connection to a MySQL server
$connection = mysql_connect ($server, $username, $password);
$charset = mysql_client_encoding($connection);
$flagChange = mysql_set_charset('utf8', $connection);
echo "The character set is: $charsetmysql_set_charset result:$flagChange";