[PHP-users 5342] 内部処理の文字コード変更について

Haruhiko php-users@php.gr.jp
Mon, 11 Feb 2002 03:19:31 +0900


初めまして。ハルヒコといいます。

あるディレクトリのみ内部処理をSJIS変更したいと思っています。
ヘルプと過去ログを見て設定を行ったのですがどうもうまくいきません
環境、設定は以下の通りです


環境

Windows2000 + Apache1.3.23 + PHP 4.1.1


php.iniの設定

output_buffering = On
output_handler = mb_output_handler

default_charset = "Shift_JIS"

extension=php_mbstring.dll
[mbstring]
mbstring.internal_encoding = EUC-JP
mbstring.http_input = auto
mbstring.http_output = SJIS
mbstring.detect_order = auto
mbstring.substitute_character = none;


httpd.confの設定

<Directory />
  AllowOverride All
</Directory>


内部処理もSJISに変更したいディレクトリの.htaccessの設定

php_value mbstring.internal_encoding SJIS;


上のように設定を行っても、内部処理もSJISに変更したいディレクトリは相変わ
らずEUCのままになってしまいます。
何かお気づきになりましたらよろしくお願いします。