RE: mb_http_output question

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