Re: Japanese: multiple internal encodings possible?
| From: | Rui Hirokawa | Date: | Tue, 03 Sep 2002 08:44:24 +0000 |
| Subject: | Re: Japanese: multiple internal encodings possible? | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-317@lists.php.net to get a copy of this message | ||
PHP 4.3.0 will support conversion from script encoding
to internal encoding.
This option is enable if --enable-zend-multibyte is set with configure.
You can specify the script encoding in php.ini,
mbstring.script_encoding = SJIS
mbstring.internal_encoding = EUC-JP
If you want to use now, please try snapshot (snaps.php.net)
or cvs.
On Wed, 21 Aug 2002 18:41:19 +0900
jean_christian@myrealbox.com (Jean-Christian Imbeault) wrote:
> I am currently writting PHP scripts that accesses a database containing
> data in EUC-JP. However the web page designers are wrting there pages in
> SJIS.
>
> I'm finding that my pages don't display well because the data I get back
> is in EUC-JP and the hard-coded text the designers put in is in SJIS. Is
> there any easy solution around this (besides the obvious of doing an
> mb_convert_encoding() on all my variables.)
>
> Thanks,
>
> Jc
>
--
-----------------------------------------------------
Rui Hirokawa <rui_hirokawa@ybb.ne.jp>
<hirokawa@php.net>