<i>lsort -nocase does not sort non-ASCII correctly</i> status still Open with 4 other changes
by
.
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