Re: Possible MySQLi extension BUG!. .

From: Date: Fri, 09 Sep 2005 18:43:34 +0000
Subject: Re: Possible MySQLi extension BUG!. .
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-40240@lists.php.net to get a copy of this message
Renich Bon Ciric wrote:
Firs of all, I wanna say I have spent a whole week looking for answers elsewhere. The reason of this message is to look for a practical solution.
I just spent the last 2-3 days converting my entire database (and website) from charset latin1 (ISO-8859-1) to utf8. Although I used the mysql library instead of the mysqli library I believe this should help: SET NAMES 'utf8'; Execute that query before you execute any other query that is going to use characters that are encoded in utf8. If you would like more information on what the above statement does here's the link to the mysql documentation: http://dev.mysql.com/doc/mysql/en/charset-connection.html - Aman

« previous php.db (#40240) next »