Re: PHP4 mysqli with mysql 4.1.7?

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

 



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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux