Re: utf8 charset comunication PHP5 -> MySQL4.1 IMPOSSIBLE!
Posted by: Lukasz Ocelewicz
Date: September 09, 2005 03:54PM


I have the same problem with changing client encoding to 'latin2'.

Shu, I have tried the second way you proposed:

>2. add init_connect='SET NAMES utf8' in [mysqld] part of my.cnf

I put in my.cnf [mysqld] 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'???

Options: ReplyQuote

Written By
Re: utf8 charset comunication PHP5 -> MySQL4.1 IMPOSSIBLE!
September 09, 2005 03:54PM

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.