Skip navigation links

MySQL Forums :: PHP :: How setting coexist EUC and UTF8 ?(Windows7)


Advanced Search

How setting coexist EUC and UTF8 ?(Windows7)
Posted by: REIKO TAMIYA ()
Date: February 08, 2013 01:36AM

hello.

I'm develop with MYSQL 5.5 WINDOWS 7.
It's based UTF8 encoding, and usually I develop with UTF8 PHP-mysqld.
This environment working fine.

But I must maintenance old system created by EUC encode.
It includes MYSQL with UJIS, PHP with EUC.

But old EUC PHP is garble.(Static page is fine. It happens only read from DB.)

I hope to my local UTF8 base encode, switch EUC work, when I develop EUC applications.

What should I ?
please help me...

------------------------
mysql.ini
------------------------
[client]
port=3306
default-character-set=ujis

[mysql]
default-character-set=ujis

[mysqld]
port=3306
init-connect=SET NAMES ujis
skip-character-set-client-handshake
character-set-server=ujis
default-character-set=ujis
default-storage-engine=INNODB

[mysqldump]
default-character-set=ujis
skip-opt
create-options
set-charset
hex-blob
single-transaction

Options: ReplyQuote


Subject Written By Posted
How setting coexist EUC and UTF8 ?(Windows7) REIKO TAMIYA 02/08/2013 01:36AM
Re: How setting coexist EUC and UTF8 ?(Windows7) Rick James 02/09/2013 05:47PM


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.