Re: FN-FORUM: Displaying part of a site in Mandarin
date posted 7th March 2008 11:28
On 7 Mar 2008, at 12:41, Anthony Cartmell wrote:
>
>> Make sure everything is UTF-8 including the database if it's
>> required.
>
> And the database connection, often a problem. Do "SET NAMES utf8"
> just after you connect to MySQL from PHP, or add this line to /etc/
> my.cnf in the [mysqld] section to do this for all connections:
>
> init_connect='SET NAMES utf8'
beat me too it...
(The forum is slow today....)
11:25