Mysqli setting database connection character set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux