Skip to content
Tcl Source Code Artifact [a73607f6ce]
Login

Artifact [a73607f6ce]

Artifact a73607f6ced9e24536709fd5994be8c52b3e363e:

Ticket change [a73607f6ce] - Ticket [1376892fffffffff|1376892fff] <i>[:print:] wrong behaviour</i> status still Open with 4 other changes by billposer on 2006-03-02 12:26:40.
D 2006-03-02T12:26:40
J icomment Logged\sIn:\sYES\s\nuser_id=939324\n\n>Interestingly,\sthere\sare\salso\smany\scharacters\sthat\sare\n>isalnum||ispunct\sbut\snot\sisprint.\sThat\sseems\svery\sstrange\sto\n>me;\sperhaps\swe\sneed\sto\sfind\sa\sreal\sspec\sand\suse\sthat\sinstead\n>of\sguessing...\s:-)\n\nMy\sexperience\ssuggests\sthat\sa\slot\sof\ssoftware\shas\sbeen\nrather\ssloppily\sextended\sto\shandle\sUnicode\swith\sthe\sresult\nthat\sfor\smany\sfeatures\sthe\sbehavior\sis\snot\sonly\snon-standard\nnot\s"common\ssense"\sbut\sdownright\sbizarre.\sFor\sinstance,\stry\na\srange\slike\s[a-ALPHA]\sin\syour\sfavorite\sregexp\sengine\s(other\nthan\sTcl).\sThe\scommon\ssense\scorrect\sresult\sis\sthat\sthis\nshould\smatch\sthe\scharacters\sU+0061\sthrough\sU+03B1.\sAnother\nplausible\sresult\swould\sbe\san\serror\sbecause\sit\scrosses\nUnicode\sblocks\s(this\sis\sthe\sgawk\sbehaviour).\sBut\sin\saddition\nto\sthese\sI\shave\sfound\sseveral\sother\sthings,\sincluding\nmatches\sthat\sinclude\snot\sonly\salpha\sbut\sthe\sentire\sGreek\srange!\n\nAnyhow,\sthe\sother\sproblem\sis\sthat\sI'm\spretty\ssure\sthat\sthere\nisn't\sany\sstandard\sgoverning\sthe\sextension\sof\sthe\sPOSIX\nclasses\sto\sUnicode.\sPOSIX\sstates\ssome\sprinciples\sbut\sthey\nare\svery\sgeneral,\sbasically\sjust\sthat\syou\shave\sto\spreserve\nthe\sASCII\sclasses.\sUnicode\shas\sclasses\sof\sits\sown\sin\sthe\nform\sof\sthe\sGeneral\sCharacter\sProperties,\sbut\sthey\saren't\nthe\ssame\sand\sdon't\smap\sto\sthe\sPOSIX\sclasses\sin\san\sobvious\sway.\n\n
J login billposer
J mimetype text/plain
J username billposer
K 1376892fffffffffffffffffffffffffffffffff
U billposer
Z 07467419c2f91a501fd4038ea056bd29