ID: 45482 Updated by: [EMAIL PROTECTED] 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