Hannes Magnusson wrote:
On Thu, Aug 7, 2008 at 16:17, Ulf Wendel <[EMAIL PROTECTED]> wrote:
He explained to me that using SET NAMES is what is not recommended when
using libmysql because:

 - there is no verification if the client knows the charset
 - the internal mysql->charset field will not be set properly

Is this something we should add to the mysql[i]_set_charset() docs?
I've seen *bunch* of people doing mysql[i]_query("SET NAMES UTF8");...

-Hannes


The people doing it usually have to support PHP versions lower than 5.2.3, we use SET NAMES on older versions of PHP.

Scott

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to