Re: mysql_set_charset
| From: | Alexey Zakhlestin | Date: | Tue, 26 Aug 2008 15:04:09 +0000 |
| Subject: | Re: mysql_set_charset | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40094@lists.php.net to get a copy of this message | ||
On Thu, Aug 7, 2008 at 6:29 PM, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> 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");...
Is it possible to add similiar functionality to pdo_mysql?
Probably in the form of custom option.
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/