> What happens in your application if you just do:
>
> mysql_query("SET CHARACTER SET utf8", $connection) or die(mysql_error());
>
> right after you connect to the database?

Thank you, by adding mysql_query("SET CHARACTER SET utf8", $connection), it
works now.  However, I am still confused on some issue:

1. Is it possible to set the PHP mysql client to use utf8 as default?  In
this way, I do not need to modify all of my applications.
2. Why mysqli + 4.1.x is recommended?


Francis Mak

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

Reply via email to