Skip to content
Tcl Source Code Artifact [ff6e397e1c]
Login

Artifact [ff6e397e1c]

Artifact ff6e397e1ca070148fbf1dc9842e548270912d86:

Ticket change [ff6e397e1c] - Ticket [3613609fffffffff|3613609fff] <i>lsort -nocase does not sort non-ASCII correctly</i> status still Open with 4 other changes by dkf on 2013-05-22 19:37:22.
D 2013-05-22T19:37:22
J icomment Found\sa\sproblem\sin\sTclUtfCasecmp();\sI\sget\sthe\swrong\sresult\sfrom\sthis:\n\s\slsort\s-ascii\s-nocase\s[list\sa\\u0000a\sa]\n\nThe\sproblem\scomes\swhen\stwo\sstrings\sare\sa\sdifferent\slength\sbut\sthe\scharacter\sin\sthe\slonger\sat\sthe\sindex\sof\sthe\slength\sof\sthe\sshorter\sis\s\\u0000;\swe're\ssaying\sthe\swrong\sstring\sis\sshorter\s(or\sthat\sthe\stwo\sstrings\sare\sthe\ssame).\n\n(Evil\sedge\scases\s'Я'\sus!)\n
J login dkf
J mimetype text/plain
J username dkf
K 3613609fffffffffffffffffffffffffffffffff
U dkf
Z 5ea7c485b0625f8141a02b7bb991fcca