Hello!
I have a problem (?):
XHTML is UTF8 encoded, MySQL DB is UTF8, in PHP after the connection is established: mysql_query("SET NAMES 'utf8'", $dbh);
The characters are properly displayed in the browser and in 'MySQL Query Browser' (from mysql.com).
The problem is: when I post a data eg: 'foo"bar"foo' from a form and insert into the db with this myqsl_query("INSERT...".mysql_real_escape_string($_POST['field']));
and looked in the 'MySQL Query Browser' the " characters aren't escaped (not \")!!!
OR did I misunderstood something ?
Edit: PHP v4.3.11 , MySQL 4.1.18 , OS WinXP SP2