[PHP-DEV] Re: Multibyte ([PHP-INST] Re: If-Modified-Since..)

2002-10-16 Thread Ryo Takagi
ply correctly to requests with If-Modified-Since: header other than to modify PHP source code. Try CVS version. Thank you. The CVS version seemed to work correctly on this matter. Hmm... Let us know the problem so that we can fix problems before release. What I found is as follows.

[PHP-DEV] Re: Multibyte ([PHP-INST] Re: If-Modified-Since..)

2002-10-16 Thread Yasuo Ohgaki
Ryo Takagi wrote: If the line: print ( mb_convert_encoding( $jstr, ISO-2022-JP ) ) ; in this script is modified to: print ( mb_convert_encoding( $jstr, ISO-2022-JP, EUC-JP ) ) ; then it works again. This cannot be fixed. Check modify your detect order by

[PHP-DEV] Re: Multibyte ([PHP-INST] Re: If-Modified-Since..)

2002-10-16 Thread Yasuo Ohgaki
Forgot to what it's doing. Since the multibyte char sequence is too short, mbstring is failing to detect encoding correctly. In this case, we can specify encoding or modify detect order. -- Yasuo Ohgaki Yasuo Ohgaki wrote: Ryo Takagi wrote: If the line: print ( mb_convert_encoding(

Re: [PHP-DEV] Re: Multibyte ([PHP-INST] Re: If-Modified-Since..)

2002-10-16 Thread Masaki Fujimoto
nah... If it(==from_encoding) is not specified, the internal encoding will be used. (http://jp.php.net/manual/en/function.mb-convert-encoding.php) so it's just because mbstring.internal_encoding is not properly set? Masaki Fujimoto On Thu, 17 Oct 2002 08:17:27 +0900 Yasuo Ohgaki [EMAIL

Re: [PHP-DEV] Re: Multibyte ([PHP-INST] Re: If-Modified-Since..)

2002-10-16 Thread Yasuo Ohgaki
Masaki Fujimoto wrote: nah... If it(==from_encoding) is not specified, the internal encoding will be used. (http://jp.php.net/manual/en/function.mb-convert-encoding.php) so it's just because mbstring.internal_encoding is not properly set? Thanks for heads up. I made the same mistake