Skip to content
Tcl Source Code Artifact [6cfd061a23]
Login

Artifact [6cfd061a23]

Artifact 6cfd061a23c9b36493fb9b7c667be12e0b415c19:

Ticket change [6cfd061a23] - Ticket [578030ffffffffff|578030ffff] <i>Tcl_UniChar is only 16 bits</i> status still Open with 5 other changes by dkf on 2002-07-09 16:19:39.
D 2002-07-09T16:19:39
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nIIRC,\srecent\sfull\sUnicode\sstandards\smandate\s32-bit\ncharacters\sso\sthat\svirtually\severy\scharacter\sever\sinvented\nby\smankind\scan\sbe\srepresented\s(though\syou\scan\sbet\sthat\nsomeone\ssomewhere\shas\sa\splan\sto\sgo\sto\s64-bit\schars\sjust\sto\nmake\ssure\sthat\sextra-terrestrial\slanguages\scan\sbe\nincorporated\sinto\sUnicode\stoo!)\s\sAlas,\sdoing\sthis\swould\sblow\nthe\score\sup\seven\slarger\sthan\sit\sis\snow,\sbecause\sthere\sare\sa\nlot\sof\splaces\swhere\swe\sneed\sfixed-width\sstrings\sfor\nperformance\sreasons\s(e.g.\s[string\sindex]\son\sUTF-8\sis\san\sO(n)\noperation.)\n\nI\ssomehow\sdoubt\sthat\sthe\sdefault\sconfig\sof\sTcl\sis\sgoing\sto\nchange\sfrom\s16-bit\schars\sin\sthe\snear\sfuture;\sthe\spay-off\sis\njust\snot\sgood\senough\sat\sthe\smoment.\s\sHowever,\sI\sdon't\sknow\nif\sthere's\sanything\smuch\sin\sthe\score\sright\snow\s(aside\sfrom\nthe\sdeclarations\sin\stcl.h)\sthat\sassumes\sa\sparticular\ncharacter\ssize;\sremoving\ssuch\sassumptions\sis\sfine\sto\smake\nfor\seasier\sporting\sto\s32-bit\schars\sif/when\sit\sbecomes\sa\sreal\nissue.\n
J login dkf
J mimetype text/plain
J priority 1\sZero
J username dkf
K 578030ffffffffffffffffffffffffffffffffff
U dkf
Z 8e1817702245ddb34b2d598d848755c5