Table encoding limitations?
Open21e3c44ac94dc5cbe2946fe66f7357588c16efe9Created 7 years agoUpdated 7 years ago
Descriptionplain2020-04-23 16:39:33
The code in tclEncoding.c that implements table encodings appears to be limited to be able to work with only code points in UCS-2. This kind of encoding includes most of them provided as *.enc files. It's possible this is fine, but I wanted to enter a ticket mentioning it so it could be examined.
dgpplain2020-04-26 18:11:37
I think the implication is that if any third party wants to create an encoding that supports the entire Unicode character set, they cannot accomplish that by the creation of any *.enc file. They must use the C routine Tcl_CreateEncoding(), which means they must create a binary extension for [load]ing. If this is correct, it seems to be a constraint worthy of noting in the docs.
Log in (anonymous is fine) to add a comment.