Re: php bugs (Chinese word display problem)-help
| From: | Moriyoshi Koizumi | Date: | Tue, 26 Nov 2002 16:23:22 +0000 |
| Subject: | Re: php bugs (Chinese word display problem)-help | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91752@lists.php.net to get a copy of this message | ||
Hi, Samuel
As far as I know, CP936 characters which is commonly used in MS products
are basically not allowed to use in PHP scripts. You have to use UTF-8
encoding in such case.
Anyway, this is wrong list for this kind of question, so better ask this
at php-general@lists.php.net.
Regards,
Moriyoshi
<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 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
>
>
>
>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>