#45482 [Com]: some big5 Chinese character lead to Parse error
| From: | yournana at gmail dot com | Date: | Fri, 11 Jul 2008 10:18:13 +0000 |
| Subject: | #45482 [Com]: some big5 Chinese character lead to Parse error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-126461@lists.php.net to get a copy of this message | ||
ID: 45482
Comment by: yournana at gmail dot com
Reported By: yournana at gmail dot com
Status: Open
Bug Type: Recode related
Operating System: windows/unix
PHP Version: 5.2.6
New Comment:
you must change the "江靜俞" back to real
characters...
Previous Comments:
------------------------------------------------------------------------
[2008-07-11 10:08:24] yournana at gmail dot com
Description:
------------
when I writting php script in big5 encoding , I find a strange thing ,
I simply type
<?php
echo "江靜俞" ;
?>
in big5 encoding,it show me a
Parse error: syntax error, unexpected $end in D:\lab\bug\test.php on
line 3
than I change encoding to utf-8, it works fine, the key cahracter is
'俞',also the same as some other special characters, it's a bug ?
Reproduce code:
---------------
<?php
echo "江靜俞" ;
?>
[big5 encoding]
Expected result:
----------------
just show the [江靜俞]
Actual result:
--------------
syntax error, unexpected $end in D:\lab\bug\test.php on line 3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45482&edit=1