Skip to content
Tcl Source Code Artifact [272dbcfc50]
Login

Artifact [272dbcfc50]

Artifact 272dbcfc500866fea259b6f6f1911ee1a27b8497:

Ticket change [272dbcfc50] - Ticket [578030ffffffffff|578030ffff] <i>Tcl_UniChar is only 16 bits</i> status still Open with 5 other changes by hobbs on 2002-07-09 23:48:29.
D 2002-07-09T23:48:29
J assignee hobbs
J icomment Logged\sIn:\sYES\s\nuser_id=72656\n\nI've\sspoken\swith\sMarkus\sKuhn\sabout\sthis\sat\slength\swhen\s\nmoving\sto\sthe\s3.0\sspec\s(3.[12]\swere\sout,\sbut\sI\sdecided\sto\snot\s\ngo\sthere\sfor\snow).\s\sTcl\swill\sbe\sstaying\sby\sdefault\sat\sthe\s16-bit\s\nTcl_UniChar\svalue\swith\sTCL_UTF_MAX\s==\s3.\s\sThese\sare\s\ntweakable\sparameters\sduring\scompile,\sand\sone\scan\sspecify\s\n32-bit\sTcl_UniChars\sand\sTCL_UTF_MAX\s==\s6.\s\sThere\sis\scode\s\nto\ssupport\sit.\n\nAt\sone\spoint\sI\stested\sthe\scode\sto\ssee\sthat\sit\sran\sthrough\sthe\s\ntest\ssuite,\swhich\sit\sdid\swith\sa\sfew\sminor\sproblems\s(mostly\sin\s\ntest\ssuite\sassumptions).\s\sHowever,\sthe\s8.x\sline\sof\sTcl\sneeds\s\nto\sstay\swith\s16-bit\sUCS2\sfor\sbinary\scompatability\sreasons.\n\nShould\swe\smove\sto\sUCS4\sin\sTcl\s9?\s\sThat\sis\san\soutstanding\s\nquestion.\s\sJava\sand\sWindows\sboth\suse\sUCS2\sonly,\sX\sis\s\nmoving\stowards\sfull\sUCS4,\sbut\svery\sfew\sapps\suse\sit\sand\sI'm\s\nnot\seven\ssure\sthe\sextent\sto\swhich\sit\swill\sbe\sused\s5\sor\s10\syears\s\nfrom\snow.\n\nI\sthink\sthe\sbest\ssolution\swould\sbe\sto\sintroduce\sUCS2/UCS4\s\nconversion\sfunctions\sin\sthe\sTcl\sAPI.\s\sThe\sreason\sfor\sthis\sis\s\nthat,\sas\sKeith\snotes,\sthey\sare\suseful\snow,\sand\swill\sdefinitely\s\nbe\suseful\sgoing\sforward\sas\swe\sare\sbound\sto\sneed\sto\sdeal\swith\s\nUCS2\ssystems\sfor\sa\slong\stime\sto\scome.\n
J login hobbs
J mimetype text/plain
J username hobbs
K 578030ffffffffffffffffffffffffffffffffff
U hobbs
Z 9416faba1395be0d3a0dbbd68694e16a