mb_http_output question
| From: | Jean-Christian IMbeault | Date: | Wed, 27 Aug 2003 08:56:18 +0000 |
| Subject: | mb_http_output question | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-611@lists.php.net to get a copy of this message | ||
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