php bugs (Chinese word problem)-help

From: Date: Tue, 26 Nov 2002 05:30:07 +0000
Subject: php bugs (Chinese word problem)-help
Groups: php.dev 
Request: Send a blank email to php-dev+get-91650@lists.php.net to get a copy of this message
Hi, everyone: I am a Chinese, I am a programmer. I encounter a problem about php. Attachment is 1.php, when i open this file (this file is saved at linux server, apache and php 4.2.3 are installed on this server) in Internet Explorer, error displays: Parse error: parse error, expecting ','' or ';'' in /usr/3give/test/1.php on line 5 (If your computer is windows 2000, and Simplify Chinese and Traditional chinese language are installed) you will read the Chinese word. I found that if the hex code for Chinese word ends with '5C', then the error will exist. Anymore, if I input a Chinese word which hex code ends with '5C' in the database field, then the display result will add a suffix '\', for example, if i input "ÖÐß\", it will display "ÖÐß\\" at the browser (Internet explorer). I don't know why this problem exist, can you solve this problem for us? Contact me by: samuel@3give.com; (86)755-27232311->samuel Best regards Thanks. Samuel

« previous php.dev (#91650) next »