> I switched to MySQL 5.0.19 and now i have some issues with charsets :/
> 
> In my config files, my.cnf i've got such a record:
> 
> character-set-server=latin2
> collation-server=latin2_general_ci
> 
> But when it get data from the database to the website, then theres the
> problem because it doesn't get it in the right charset i think.
> 
> I've got a solution to this but it's quite annoying.
> 
> mysql_query("SET NAMES latin2");
> 
> Is there any other way to setup this so I don't have to put that code on
> each page?

Try adding this line to [mysqld] section:
character-set-client-handshake=0

Reply via email to