mbstring.internal_encoding = mbstring.http_output?

[email protected]
Newsgroups gmane.comp.php.internationalization
Message-ID <[email protected]>
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


-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.