> >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. Both 4.3.0-pre1 and today's CVS snapshot
reproduced the same result.

  The script:

BEGIN --- test.phtml ---
<?php
    header ( "Last-Modified: " . gmdate ( 'D, d M Y H:i:s \G\M\T' ) ) ;
    header("content-type: text/html; charset=ISO-2022-JP");
?>
<html><head><title>Test Multibyte</title></head><body>
<?php
function jstringout( $jstr )
{
  print ( mb_convert_encoding( $jstr, "ISO-2022-JP" ) ) ;
}
jstringout ( "<h1> ##### </h1>\n" ) ;
?>
</body></html>
END --- test.phtml

  If I put Japanese characters in place of "#####", save this script
using EUC-JP encoding, and access this script using Microsoft Internet
Explorer 6, then the characters does not seem to be correctly encoded.
The selection of encoding in the browser did not help.

  In 4.2.3, this script posed no problem.

  If "#####" is replaced by the single-byte characters (alphabets) there
is no problem.

  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.


Regards
Ryo

-- 
R Takagi <[EMAIL PROTECTED]>

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to