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:[EMAIL PROTECTED]
> Sent: Wednesday, August 27, 2003 5:56 PM
> To: [EMAIL PROTECTED]
> 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

--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to