My MySQL table contains correct UTF-8 data, However when I read this into PHP it is not correctly displayed
My .htaccess contains (only): AddDefaultCharset utf-8
Code:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel=StyleSheet href="misc/pdavis.css" type="text/css">
<TITLE>Test UTF-8</title>
</head>
<body>
<?php
$db=mysql_connect("localhost", "XXXXXX", "XXXXXXXXXXX");
mysql_select_db("XXXXXX",$db);
$Temp="SELECT * FROM tbTest";
$result=mysql_query($Temp,$db);
while ($myrow = mysql_fetch_array($result))
{
echo $myrow["Text"] . "</br>" ;
}
?>
</body>
</html>
My .htaccess contains (only): AddDefaultCharset utf-8