Re: utf8 charset comunication PHP5 -> MySQL4.1 IMPOSSIBLE!
Posted by: Shuichi Tamagawa
Date: September 10, 2005 02:09AM


> Shu, I have tried the second way you proposed:
> >2. add init_connect='SET NAMES utf8' in part
> of my.cnf
> I put in my.cnf section the following line:
> init_connect='SET NAMES latin2'
> and changed all other configurations to 'latin2'
> (the same as Renich Bon Ciric in the posts
> above).
> I still get the client_character_set = latin1
> Please help. How to change client character set to
> 'latin2'???

What user did you use to connect to the database ?
Please be noted that init_connect variable doesn't work for the user with SUPER privilege such as 'root'.

Options: ReplyQuote

Written By
Re: utf8 charset comunication PHP5 -> MySQL4.1 IMPOSSIBLE!
September 10, 2005 02:09AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.