RE: [PHP-I18N] mb_http_output question
| From: | Evan Owens | Date: | Wed, 27 Aug 2003 19:25:28 +0000 |
| Subject: | RE: [PHP-I18N] mb_http_output question | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-612@lists.php.net to get a copy of this message | ||
Hi,
Did you turn encoding translation on? Also you probably have to set
your internal encoding to EUC-JP.
mbstring.internal_encoding = EUC-JP
mbstring.encoding_translation = On
Regards,
Evan
> -----Original Message-----
> From: Jean-Christian IMbeault [mailto:jc@mega-bucks.co.jp]
> Sent: Wednesday, August 27, 2003 5:56 PM
> To: php-i18n@lists.php.net
> Subject: [PHP-I18N] mb_http_output question
>
> I have a bunch of HTML pages written in EUC-JP and I would like to
have
> them automatically translated to SJIS when the server calls them up. I
> thought that I could have my web server (Apache) treat the files as
PHP
> by setting:
>
> AddType application/x-httpd-php .html
>
> And then having PHP translate the pages from EUC-JP to SJIS but ...
>
> I have tried these settings in php.ini but I all the pages turned out
to
> be moji-bake:
>
> mbstring.http_output = SJIS
> output_handler = mb_output_handler
>
> What is the proper way for me to configure PHP so that it will
> automagically translate all the pages to SJIS?
>
> Thanks!
>
> Jean-Christian Imbeault
>
> --
> PHP Internationalization Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php