Tcl Source Code

Artifact [718cb197a4]
Login

Artifact 718cb197a430bf792748c6ac6bc4a4710b49ab92e1199304221950032acb4348:

Ticket change [718cb197a4] - Ticket [edb4b065f4] Crash in string compare of empty string against byte array status still Closed with 5 other changes by sebres 2024-03-28 22:12:27.
D 2024-03-28T22:12:27.726
J closedate 2460398.4253209
J closer sebres
J icomment Huh?...\r\nThe\scost\sof\stcltest::fileEncoding\swill\sbe\sapproximately\s50µs\sper\sfile.\r\nWhat\sby\sthe\s200\sfiles\samounts\sto\s"burdening"\s10\smilliseconds.\r\n\r\nAs\sfor\sthe\s"asciifying"\sin\s[03cf62003a88a5f2]\s-\sit\sis\snot\squite\skosher.\r\n\r\nFirstly,\sab\\u7266\sis\snot\sthe\ssame\sas\sab牦\s(first\sis\sunicode\sstring,\sanother\sis\sobject\swith\sutf-8\sbytes),\swhat\smay\schange\sthe\stest,\sinternally.\r\nStill\sworse\sit\smay\slook\sby\sreplacement\sfor\sü\s-\s\\xFC,\swhich\sis\ssingle-byte,\sand\smay\swork\sfor\swindows\swith\scp1252\sas\ssystem\sencoding\s(and\sunix\swith\sutf-8\sby\sfallback\sfrom\sascii\sthrough\scp1252),\sbut\smay\sfail\sfor\splatforms\swith\sanother\ssingle-byte\ssystem\sencodings,\snot\sto\smention\sthe\sbackport\sto\sTcls\swhere\sit\sbehaves\ssimilar\sto\s8.5\s(where\s\\xFC\smay\sbe\sbytearray).\r\n\r\nThen\smaybe\sbetter\ssomething\slike\s[encoding\sconvertfrom\scp1252\s\\xFC].\r\n\r\nHowever,\sif\sone\ssee\sthe\scosts...\sis\sthe\seffort,\sdifference\sto\s8.7/9.0\s(and\sa\sremoval\sof,\simho,\snice\sfeature)\sjustified?
J login sebres
J mimetype text/x-fossil-wiki
K edb4b065f49b9e51304ccdba4ee4e126ba379b0d
U sebres
Z cef1dc89b8f07d0bfca51fc1b2f94456