Skip to content
Tcl Source Code Artifact [a4127c1686]
Login

Artifact [a4127c1686]

Artifact a4127c168656863205b3806ba8a6d4664d9bbe89512a011060a919763711e837:

Ticket change [a4127c1686] - Closed ticket [578030ffffffffff|578030ffff]: <i>Tcl_UniChar is only 16 bits</i> plus 9 other changes by jan.nijtmans on 2021-04-07 12:44:42.
D 2021-04-07T12:44:42.657
J assignee aku
J closedate 2459312.03104927
J closer jan.nijtmans
J comment Tcl_UniChar\sis\sdefined\sas\s'unsigned\sshort'\swhich\r\nrestricts\sthe\srange\sof\sUnicode\scodepoints\srepresentable\r\nin\sthat\stype\sto\sthe\sbasic\smultilingual\splane.\s\r\nAdditionally,\sTCL_UTF_MAX\sis\sdefined\sas\s3\swhich\r\nrestricts\sUtf-8\sencoded\sstrings\sto\sthe\ssame\srange.\r\n\r\nRedefining\sTcl_UniChar\sas\s'unsigned\sint'\sand\r\nTCL_UTF_MAX\sas\s6\sfixes\sthe\sproblem\sbut\sleaves\sthe\r\nlibrary\sincompatible\swith\sexisting\scompiled\sobjects.\r\n\r\nIf\sbinary\scompatibility\sis\sa\sconcern,\sperhaps\sthe\r\ninternal\sdatatype\scan\sbe\schanged\sand\snew\sAPIs\screated\r\nfor\sthe\swider\sset\sof\svalues\sleaving\sthe\sexisting\r\ntypedef\sin\splace\salong\swith\sthe\sexisting\sinterfaces.
J icomment Fixed\sin\sTcl\s9.0\s(not\sreleased\syet).\sSee\sTIP\s#497
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Fixed
J severity Minor
J status Closed
K 578030ffffffffffffffffffffffffffffffffff
U jan.nijtmans
Z 19720c3f11b19ee1993c31efaf7ea672