Quantcast
Channel: MySQL Forums - PHP
Viewing all articles
Browse latest Browse all 938

How setting coexist EUC and UTF8 ?(Windows7) (1 reply)

$
0
0
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

Viewing all articles
Browse latest Browse all 938

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>