Mysqli setting database connection character set
| From: | Jaanus Heeringson | Date: | Sat, 12 Jul 2003 12:21:45 +0000 |
| Subject: | Mysqli setting database connection character set | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-29210@lists.php.net to get a copy of this message | ||
Is there any way to set the default database connection character set when using myslqi extension?
When connecting to a database it does not seem to pick up the default charset of the database (utf8) but instead reverts to the mysql server default chrset (latin_1...).
What i want to do is connect to my mysql db in utf-8 without changing the default connection charset of the server.