Overview
| Artifact ID: | ce0c647e1255a3d3b8896fbddff4e6f216595eb4 |
|---|---|
| Ticket: | 578030ffffffffffffffffffffffffffffffffff
Tcl_UniChar is only 16 bits |
| User & Date: | keithp on 2002-07-06 06:26:41 |
Changes
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl_UniChar is defined as 'unsigned short' which restricts the range of Unicode codepoints representable in that type to the basic multilingual plane. Additionally, TCL_UTF_MAX is defined as 3 which restricts Utf-8 encoded strings to the same range. Redefining Tcl_UniChar as 'unsigned int' and TCL_UTF_MAX as 6 fixes the problem but leaves the library incompatible with existing compiled objects. If binary compatibility is a concern, perhaps the internal datatype can be changed and new APIs created for the wider set of values leaving the existing typedef in place along with the existing interfaces.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "keithp"
- subsystem changed to: "44. UTF-8 Strings"
- title changed to: "Tcl_UniChar is only 16 bits"
- type changed to: "Bug"