Overview
| Artifact ID: | 2ddb94e1a3c9b40268a8af75bf00e9e6effb898b2ca65f486873ffb0ff818f98 |
|---|---|
| Ticket: | 367bfdcf896f8cf47f369a0a054b9a9afeec94b0
Add GB18030 encoding |
| User & Date: | oehhar on 2020-11-18 11:05:43 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Encoding GB18030 (Chines national standard 18030) is an encoding which is required for any software in China. This gives a certain preasure to support it. It is challenging, as the whole Unicode range is covered, but ordered in a different way. It is compatible to already present encoding GB2312 in a way, that GB2312 codepoints still apply. Jan Nijtmans wrote about the technical details in ticket [9575f0dec8]: Well, how about TIP #389 then? In Tcl 8.7 we can use characters > U+FFFF by storing them as surrogate pairs. So a single (multibyte) character could result in 2 surrogates. That's not possible now, with the current "*.enc" files. Currently there are 4 types of "*.enc" files: Single-byte ("S"), double-byte("D") escape-driven("E") and multi-byte("M"). So, we would need a 5th type (e.g. "U"), I don't see why that wouldn't be possible. For Tcl 9, we have 32-bit characters, but still we would need the same additional format: we cannot do it with the existing "*.enc" files. - foundin changed to: "8.7"
- is_private changed to: "0"
- login: "oehhar"
- priority changed to: "5 Medium"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "oehhar"
- subsystem changed to: "44. UTF-8 Strings"
- title changed to: "Add GB18030 encoding"
- type changed to: "RFE"