Re: Re: mbstring: Japanese: encoding conversion not

From: Date: Thu, 11 Jul 2002 11:45:13 +0000
Subject: Re: Re: mbstring: Japanese: encoding conversion not
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-290@lists.php.net to get a copy of this message
Yasuo Ohgaki wrote:
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...
Yes, I read them over and over :) Are you in charge of maintaning the manual pages for mbstring? If so I would glad lend you a hand in making the clearer and more informative. If you want my help just ask. I'll be happy to pitch in!
Anyway, internal_encoding is SCRIPT encoding.
You mean the encoding the php script file is in?
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.
Ok. But this conversion will only occur if mb_output_handler has been set in php.ini as the output handler, correct?
When you are using mbstring, don't set default charset php.ini directive, mbstring set it to appropriate encoding accoding to output encoding setting.
Ah ... that should be mentionned in the manual pages somewhere ;) Jc

« previous php.i18n (#290) next »