note 72754 added to function.mysqli-connect
| From: | NielArcher at osu1 dot php dot net | Date: | Wed, 31 Jan 2007 19:13:57 +0000 |
| Subject: | note 72754 added to function.mysqli-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122432@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 82.32.121.60
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-connect.php
Edit -- https://master.php.net/note/edit/72754
Del: integrated -- https://master.php.net/note/delete/72754/integrated
Del: useless -- https://master.php.net/note/delete/72754/useless
Del: bad code -- https://master.php.net/note/delete/72754/bad+code
Del: spam -- https://master.php.net/note/delete/72754/spam
Del: non-english -- https://master.php.net/note/delete/72754/non-english
Del: in docs -- https://master.php.net/note/delete/72754/in+docs
Del: other reasons-- https://master.php.net/note/delete/72754
Reject -- https://master.php.net/note/reject/72754
Search -- https://master.php.net/manage/user-notes.php