Re: Re: mbstring: Japanese: encoding conversion not

From: Date: Fri, 12 Jul 2002 08:21:52 +0000
Subject: Re: Re: mbstring: Japanese: encoding conversion not
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-293@lists.php.net to get a copy of this message
Jean-Christian Imbeault wrote:
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!
Descriptions/fixes to manual pages are welcome. CVS diff would be nice, but it also ok to send text if you are not familar with DocBook.
Anyway, internal_encoding is SCRIPT encoding.
You mean the encoding the php script file is in?
Yes.
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?
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 ;)
I figured out that a while ago. I didn't have time to update manual... -- Yasuo Ohgaki

« previous php.i18n (#293) next »