Ok,
I'm learning on the fly about multibyte character support in php/mysql/apache, and man it's tough when you can't even tell if it's right. I'm trying to setup a site with EUC-JP support for a friend, we are having some troubles, here are the change we have and it seems everything works right but posts come up with non supported characters.
[root@240z php.d]# cat mbstring.ini
; Enable mbstring extension module
extension=mbstring.so
;; Disable Output Buffering
output_buffering = Off
default_charset = EUC-JP
mbstring.language = Japanese
mbstring.encoding_translation = On
mbstring.http_input = auto
mbstring.http_output = EUC-JP
mbstring.internal_encoding = EUC-JP
mbstring.substitute_character = none
In mysql we have the default character set to:
[root@240z etc]# cat my.cnf
[mysqld]
default-character-set=ujis
And apache already has the correct settings.
Has anyone done this before that could help me out?
I'm learning on the fly about multibyte character support in php/mysql/apache, and man it's tough when you can't even tell if it's right. I'm trying to setup a site with EUC-JP support for a friend, we are having some troubles, here are the change we have and it seems everything works right but posts come up with non supported characters.
[root@240z php.d]# cat mbstring.ini
; Enable mbstring extension module
extension=mbstring.so
;; Disable Output Buffering
output_buffering = Off
default_charset = EUC-JP
mbstring.language = Japanese
mbstring.encoding_translation = On
mbstring.http_input = auto
mbstring.http_output = EUC-JP
mbstring.internal_encoding = EUC-JP
mbstring.substitute_character = none
In mysql we have the default character set to:
[root@240z etc]# cat my.cnf
[mysqld]
default-character-set=ujis
And apache already has the correct settings.
Has anyone done this before that could help me out?
Comment