Re: PHP4 mysqli with mysql 4.1.7?

From: Date: Thu, 09 Dec 2004 17:56:04 +0000
Subject: Re: PHP4 mysqli with mysql 4.1.7?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-203841@lists.php.net to get a copy of this message
Francis Mak wrote: > mysqli_query($c, "SET CHARACTER SET utf8;"); The naive user, who understands *NOTHING* about i18l (?) functions, character sets, or anything other than American English (and not all that up on the esoterics of grammar in that) asks: What happens in your application if you just do: mysql_query("SET CHARACTER SET utf8", $connection) or die(mysql_error()); right after you connect to the database? In an ideal world, you've told MySQL to use utf8, and that would be that. Yeah, right. Worth a try, since it will take you 5 seconds, and *might* "just work" You may want to repeat your question on the PHP International list, if that's still going. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#203841) next »