Re: mysql_set_charset

From: Date: Thu, 07 Aug 2008 14:29:12 +0000
Subject: Re: mysql_set_charset
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-39735@lists.php.net to get a copy of this message
On Thu, Aug 7, 2008 at 16:17, Ulf Wendel <ulf.wendel@phpdoc.de> 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

« previous php.internals (#39735) next »