[PHP-dev 313] Re: 藤本版PHP4 のmultipart/form-data の問題

Masaki Fujimoto php-dev@php.gr.jp
Sun, 28 Apr 2002 13:30:49 +0900


ふじもとです。

ご報告ありがとうございます。

On Sun, 28 Apr 2002 12:25:34 +0900
Tomoyuki Asakawa <tomoyuki@asakawa.ne.jp> wrote:

> あさかわです。
> 
> 藤本さん版のPHP4にお世話になっております。
> 
> [mbstring]
> mbstring.internal_encoding    = EUC-JP
> mbstring.http_input           = auto
> mbstring.http_output          = Shift_JIS
> mbstring.detect_order         = auto
> mbstring.substitute_character = auto
> ;mbstring.script_encoding      = Shift_JIS
> mbstring.script_encoding      = auto
> 
> 
> 上記の様な、設定で
> 
> multipart/form-data
> 
> でPOSTされた場合。
> Shift_JISのままになっていて、EUC_JPになってくれません。
> 
> ということを発見?しましたのでご報告します。

まもなく外出しなければならないので、検証する時間が取れないのでお手数です
がもう少し詳しく状況を教えていただけると嬉しいです。具体的には

- EUC_JPになってくれないのはどのデータでしょうか?
- php.iniの設定を変えると現象は発生しなくなるのでしょうか(つまり、
  script_encoding=autoのときのみ起こる現象なのでしょうか、というような意
  味です)

といった点をご教示していただけると幸いです。

# 4.2.0版のパッチ/アーカイブもあったほうが良いですか?

--
藤本 真樹

アストラザスタジオ
fujimoto@studio.co.jp
fujimoto@php.net