ID:               42074
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cs at tequila dot co dot jp
-Status:           Open
+Status:           Wont fix
 Bug Type:         *Languages/Translation
 Operating System: Linux
 PHP Version:      5.2.3
 New Comment:

This will be fixed for PHP 6. (and maybe it works if you build PHP
using --enable-zend-multibyte)


Previous Comments:
------------------------------------------------------------------------

[2007-07-23 05:49:50] cs at tequila dot co dot jp

Description:
------------
If the document itself is saved in Shift_JIS and the kanji for talent
(nou) 能 is used at the end of a string then you get all kind of
compile errors. But if you put any character after this kanji, then the
compile succeeds.

Reproduce code:
---------------
<?
        header("Content-type: text/html; charset=ShiftJIS");
        $var = '&#33021;';

        echo $var.'<br>';
?>

Actual result:
--------------
Parse error: syntax error, unexpected '>' in kanji_test_1.php on line 5


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42074&edit=1

Reply via email to