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



Reply via email to