mbstring.internal_encoding = mbstring.http_output?
| From: | evan at data dot ad | Date: | Wed, 06 Aug 2003 05:11:06 +0000 |
| Subject: | mbstring.internal_encoding = mbstring.http_output? | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-599@lists.php.net to get a copy of this message | ||
I'm playing around with php 4.3.2 trying to get SJIS to convert to EUC
before storing it in the DB. I had assumed that the following would show
all output as SJIS and convert input to EUC-JP internally.
php_value output_buffering On
php_value output_handler mb_output_handler
php_value default_mimetype "text/html"
php_value mbstring.language Japanese
php_value mbstring.internal_encoding EUC-JP
php_value mbstring.http_input auto
php_value mbstring.http_output SJIS
php_value mbstring.encoding_translation On
However I'm finding that I can only convert to EUC-JP internally if I also
set http_output to EUC-JP.
Is this the expected behaviour?
Thanks,
Evan