#45482 [Opn->Fbk]: some big5 Chinese character lead to Parse error
| From: | jani@php.net | Date: | Fri, 11 Jul 2008 13:55:47 +0000 |
| Subject: | #45482 [Opn->Fbk]: some big5 Chinese character lead to Parse error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-126474@lists.php.net to get a copy of this message | ||
ID: 45482
Updated by: jani@php.net
Reported By: yournana at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: mbstring related
Operating System: windows/unix
PHP Version: 5.2.6
New Comment:
Did you enable multibyte support in your build?
In *nix you need to use --enable-zend-multibyte in your configure
line.
I don't know what the option is in win32 configure though. :)
Previous Comments:
------------------------------------------------------------------------
[2008-07-11 10:18:10] yournana at gmail dot com
you must change the "江靜俞" back to real
characters...
------------------------------------------------------------------------
[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