Re: Re: mbstring: Japanese: encoding conversion not

From: Date: Thu, 11 Jul 2002 11:13:06 +0000
Subject: Re: Re: mbstring: Japanese: encoding conversion not
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-289@lists.php.net to get a copy of this message
Jean-Christian Imbeault wrote:
David Emery wrote:
I found this... You have default_charset set to EUC-JP. It should be Shift_JIS. PHP will set the outgoing headers to this value (that's what it's for)
So what is the difference between mbstring.internal_encoding and mbstring.http_output?
I suppose you've read the manual pages... I may really need to add more description... Anyway, internal_encoding is SCRIPT encoding. You should use EUC or UTF-8. You cannot use SJIS as internal ecoding unless you are using patched PHP. # There are sevral encoding that cannot be work as # internal ecoding. Examples are BIG5, SJIS, ISO-2022. Output encoding is encoding that is sent to browser/client. If internal and output encoding differ, mb_output_handler will convert encoding from internal encoding to output encoding. When you are using mbstring, don't set default charset php.ini directive, mbstring set it to appropriate encoding accoding to output encoding setting. -- Yasuo Ohgaki

« previous php.i18n (#289) next »