note 72754 deleted from mysqli.connect by danielc
| From: | danielc@php.net | Date: | Thu, 12 Mar 2009 19:53:42 +0000 |
| Subject: | note 72754 deleted from mysqli.connect by danielc | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151803@lists.php.net to get a copy of this message | ||
Note Submitter: Niel Archer
Reason: 1
----
A quick word about the connection encoding for this extension. It doesn't appear to be
documented anywhere that I can find, but this defaults to latin1 encoding for the connection,
regardless of PHP's or MySQL's settings. I run in a completely UTF-8 setup, and spent
days trying to discover the cause of corrupted characters from the Db. If, like me, you need to
work with other than latin1, use the set_charset function/method to switch to your encoding of
choice.