Re: php bugs (Chinese word display problem)-help
| From: | Tom Culpepper | Date: | Wed, 27 Nov 2002 04:55:12 +0000 |
| Subject: | Re: php bugs (Chinese word display problem)-help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126229@lists.php.net to get a copy of this message | ||
I am not positive of the problem as I can not see your code, but if you want to display the words that end in '5C' the you can do them like so:
\(escape character) like this: \(95 5C 5C)
If you could sttach some code we might have a better idea.
-tom culpepper
samuel@3give.com wrote:
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 andphp 4.2.3 are installed on this server) in Internet Explorer, error displays:Parse error: parse error, expecting/usr/3give/test/1.php on line 5','' or';'' in(If your computer is windows 2000, and Simplify Chinese and Traditionalchinese language are installed) you will read the Chinese word.I found that if the hex code for Chinese word ends with '5C', then theerror will exist.Anymore, if I input a Chinese word which hex code ends with '5C' in thedatabase 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