The solution is pretty simple once you hit it, and works in both MySQL and PGSQL because it's standard SQL-92 :

$query="SET NAMES 'UTF-8'";


Sorry - I meant $query="SET NAMES 'UTF8'";
As you pointed out, it's UTF8 not UTF-8 ;-)

Cheers - Neil

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to