Re: Configuring Multibyte.
| From: | Jean-Christian Imbeault | Date: | Thu, 13 Mar 2003 13:38:15 +0000 |
| Subject: | Re: Configuring Multibyte. | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-503@lists.php.net to get a copy of this message | ||
Ricoche wrote:
>
> --enable-mbstring
I believe this option is now enabled by default and should no longer be
used at compile time.
> mbstring.language = Japanese
> mbstring.http_input = auto
> mbstring.internal_encoding = EUC-JP
> mbstring.substitute_character = none
The above are all default values so no need to set them ...
> mbstring.encoding_translation = On
This is needed.
> For Apache I did the following in httpd.conf:
>
> LanguagePriority jp en
> AddCharset EUC-JP .euc
> AddCharset ISO-2022-JP .jis
> AddCharset SHIFT_JIS .sjis
> AddLanguage jp .jp
I don't think this matters at all for PHP.
> Is there anything else I need to do to ready my server for EUC-JP? Do I
> need to add anything to my PHP script files or to Mysql?
As for PHP I think your settings are ok.I don't know anything about
mySQL though but there probably are some settings that need to be set ...
Jc