php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7783 Problem when display some word in Chinese(Big5)
Submitted: 2000-11-13 09:49 UTC Modified: 2000-11-14 06:08 UTC
From: gtp at gtp dot idv dot tw Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.3pl1 OS: Microsoft Windows 2000 Server
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gtp at gtp dot idv dot tw
New email:
PHP Version: OS:

 

 [2000-11-13 09:49 UTC] gtp at gtp dot idv dot tw
When I use this
echo ('????');
or
echo ("????");
("????" is a Chinese(Big5) Word, mean success)
Will cause prase error.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-14 05:50 UTC] gtp at gtp dot idv dot tw
This word is
A6 A8 A5 5C

 [2000-11-14 06:08 UTC] stas@php.net
PHP does not support Unicode ot UTF-8 on parser-level. So I
guess you better use \xDD notation, where DD are hexadecimal
digits. Like that:

"\xA6\xA8\xA5\x5C"

Maybe in the (distant) future language parser would support
UTF-8, but now it does not.

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jul 15 12:00:01 2026 UTC