Overview
| Artifact ID: | 99b37355a4ba9bcb442e767da9ac8be52d665fe4 |
|---|---|
| Ticket: | 218632ffffffffffffffffffffffffffffffffff
Tilde characters are not translated to ShiftJIS correctly |
| User & Date: | nobody on 2000-10-26 01:03:25 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1526 Bug Version: 8.1a2 SubmitDate: '1999-03-18' LastModified: '1999-05-20' Severity: SER Status: Released Submitter: pat ChangedBy: hershey OS: Linux-Red Hat OSVersion: 5.0 Machine: Other FixedDate: '1999-03-18' FixedInVersion: 8.1b3 ClosedDate: '2000-10-25' Name: Ben Elliston Extensions: None CustomShell: None ReproducibleScript: % encoding convertto shiftjis ~ ObservedBehavior: When reading strings from Japanese file systems which contain tilde characters, Tcl was translating them to the fallback character `?'. DesiredBehavior: Tilde in ASCII should be mapped to tilde in ShiftJIS and vice-versa. Patch: 1999-01-19 Ben Elliston <[email protected]> * tools/encoding/shiftjis.txt: Map tilde in ShiftJIS to tilde in Unicode. * library/encoding/shiftjis.enc: Regenerate. Index: library/encoding/shiftjis.enc =================================================================== RCS file: /cvs/cvsfiles/devo/tcl8.1/library/encoding/shiftjis.enc,v retrieving revision 1.1.2.1 diff -c -r1.1.2.1 shiftjis.enc *** shiftjis.enc 1998/12/16 23:28:18 1.1.2.1 --- shiftjis.enc 1999/01/19 07:44:21 *************** *** 9,15 **** 0040004100420043004400450046004700480049004A004B004C004D004E004F 0050005100520053005400550056005700580059005A005B005C005D005E005F 0060006100620063006400650066006700680069006A006B006C006D006E006F ! 0070007100720073007400750076007700780079007A007B007C007D203E007F 0080000000000000000000850086008700000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000FF61FF62FF63FF64FF65FF66FF67FF68FF69FF6AFF6BFF6CFF6DFF6EFF6F --- 9,15 ---- 0040004100420043004400450046004700480049004A004B004C004D004E004F 0050005100520053005400550056005700580059005A005B005C005D005E005F 0060006100620063006400650066006700680069006A006B006C006D006E006F ! 0070007100720073007400750076007700780079007A007B007C007D007E007F 0080000000000000000000850086008700000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000FF61FF62FF63FF64FF65FF66FF67FF68FF69FF6AFF6BFF6CFF6DFF6EFF6F Index: tools/encoding/shiftjis.txt =================================================================== RCS file: /cvs/cvsfiles/devo/tcl8.1/tools/encoding/shiftjis.txt,v retrieving revision 1.1.2.1 diff -c -r1.1.2.1 shiftjis.txt *** shiftjis.txt 1998/12/16 23:28:19 1.1.2.1 --- shiftjis.txt 1999/01/19 07:44:52 *************** *** 150,156 **** 0x7B 0x007B # LEFT CURLY BRACKET 0x7C 0x007C # VERTICAL LINE 0x7D 0x007D # RIGHT CURLY BRACKET ! 0x7E 0x203E # OVERLINE 0x8140 0x3000 # IDEOGRAPHIC SPACE 0x8141 0x3001 # IDEOGRAPHIC COMMA 0x8142 0x3002 # IDEOGRAPHIC FULL STOP --- 150,156 ---- 0x7B 0x007B # LEFT CURLY BRACKET 0x7C 0x007C # VERTICAL LINE 0x7D 0x007D # RIGHT CURLY BRACKET ! 0x7E 0x007E # TILDE 0x8140 0x3000 # IDEOGRAPHIC SPACE 0x8141 0x3001 # IDEOGRAPHIC COMMA 0x8142 0x3002 # IDEOGRAPHIC FULL STOP PatchFiles: shiftjis.txt shiftjis.enc I was unable to verify this with Unicode standards documentation. 03/18/1999 19:57 - stanton - I have applied the patch. - foundin changed to: "obsolete: 8.1a2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "57. zlib"
- title changed to:
Tilde characters are not translated to ShiftJIS correctly
- type changed to: "Bug"