Skip to content
Tcl Source Code View Ticket
Login

View Ticket

The encoding gb2312 is not correct

Closed / Fixed218344ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:56:28
OriginalBugID: 4014 Bug
Version: 8.2.3
SubmitDate: '2000-01-13'
LastModified: '2000-01-14'
Severity: SER
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: All Windows
FixedDate: '2000-10-25'
ClosedDate: '2000-01-14'


Name:
Andy Wilkin

ReproducibleScript:
encoding convertfrom gb2312 "ÖÎÉç»?¶¼"

The above line should show chinese characters, right now it show corrupted string.

DesiredBehavior:
It seem the encoding table is incorrect. If you copy the string into a .html file and display it in IE5, and setting the encoding to chinese simplified, you will see chinese characters representation.



I can't get the Chinese characters, but nor do I see Chinese chars
when I view this bug report in Netscape with the encoding for
Chinese GB2312 specified.  There must be a more bullet-proof test
for GB2312 correctness (specifying the unicode value for chars?). 
-- 01/14/2000 hobbs
welch Closed ticket [218344ffff]. [History diff]2000-10-26 08:20:07
arobert3434plain2001-02-22 13:28:53
There are actually two GB2312 encodings.

One, GB2312-0, Tcl/Tk uses.

The other, GB2312-1, most other applications use.
I'm not sure of the precise differences, but they are
generally enough to completely throw things off...
dgp Ticket [218344ffff]: 3 changes [History diff]2001-04-06 03:26:28
Log in (anonymous is fine) to add a comment.