note 73325 deleted from mysqli.connect by danielc
| From: | danielc@php.net | Date: | Thu, 12 Mar 2009 19:53:27 +0000 |
| Subject: | note 73325 deleted from mysqli.connect by danielc | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151802@lists.php.net to get a copy of this message | ||
Note Submitter: Gazzer
Reason: 1
----
Yes, it's totally odd that php.ini doesn't seem to allow you to global specify the client
connection as utf-8. You might try this in the
my.cnf file
[client]
default-character-set=utf8
[mysqld]
default-character-set=utf8
It didn't work for me, but others may have better luck. In the end I had to specify in the php
code as noted below.