Skip to content
Tcl Source Code Artifact [721ffad314]
Login

Artifact [721ffad314]

Artifact 721ffad314a63db166196fd80153a3d9995f37e8:

Ticket change [721ffad314] - Ticket [411825ffffffffff|411825ffff] <i>Passing list w/UTF-8 from C can fail</i> status still Open with 4 other changes by arobert3434 on 2001-03-29 12:11:14.
D 2001-03-29T12:11:14
J icomment Logged\sIn:\sYES\s\nuser_id=146959\n\nThanks\svery\smuch\sfor\sa\sresponse\sand\sproposed\ssolution,\nhowever\sthe\sdocumentation\sin\sthe\sman\spage\sunfortunately\nsays\snothing\sabout\sthis\sissue.\s\sIt\sonly\ssays\sthat\sit\sis\nbest\sto\suse\sthe\sobject\sversions\sof\sthe\sresult-handling\nfunctions\sbecause\sit\sis\s"significantly\smore\sefficient".\nThis\sis\shardly\sincentive\sto\sgo\sand\slearn\sa\sframework\sthat\nis\ssignificantly\smore\scomplex\sat\sfirst\ssight\swhen\sall\sone\nwants\sto\sdo\sis\spass\sa\sstring\sand\severything\shas\sbeen\nrunning\sfast\senough\sas\sit\sis.\s\sSince\sstring-handling\sis\nsaid\sto\sbe\sfully\sunicode-based\sin\sTcl/Tk\s8.1\sand\sabove,\nthe\sdefault\sassumption\son\sa\sdeveloper's\spart\sis\sto\sassume\nthat\s"string"\smeans\s"internationalized,\sUTF-8,\sor\swhat\shave\nyou\sstring",\sand\sthat\sTcl_AppendElement\stherefore\sdoes\snot\npresent\sa\sproblem.\n\nThe\sreal\ssolution\sit\sseems\sto\sme\sis\sto\srepair\sthe\sdeficiency\nin\sTclNeedSpace(),\sbut\sthere\smay\sbe\sother\sconstraints,\nperformance\samong\sthem,\sthat\sargue\sagainst\sthis.\s\sIf\sthis\nrepair\sis\snot\smade,\sthe\sdocumentation\sfor\sTcl_AppendElement,\nand\s"routines\sthat\scall\sit"\s(how\sexactly\sis\sthe\stypical\nTcl/Tk\send-developer\ssupposed\sto\sknow\swhich\sthose\sare)\nshould\sbe\supdated\sto\sreflect\sthe\sfact\sthat\sthey\sshould\snot\nbe\sused\sfor\sanything\sbut\sASCII.\s\sMaybe\sthere\sis\ssome\sother\ndocumentation\sthat\ssays\ssomething\sabout\sthese\sissues,\sbut\nit\sshould\sbe\sin\sthe\sman\spage\sas\swell.\n\n
J login arobert3434
J mimetype text/plain
J username arobert3434
K 411825ffffffffffffffffffffffffffffffffff
U arobert3434
Z 02f0a5928618668381f2634b689a5a74