Overview
| Artifact ID: | ff6e397e1ca070148fbf1dc9842e548270912d86 |
|---|---|
| Ticket: | 3613609fffffffffffffffffffffffffffffffff
lsort -nocase does not sort non-ASCII correctly |
| User & Date: | dkf on 2013-05-22 19:37:22 |
Changes
- icomment:
Found a problem in TclUtfCasecmp(); I get the wrong result from this: lsort -ascii -nocase [list a\u0000a a] The problem comes when two strings are a different length but the character in the longer at the index of the length of the shorter is \u0000; we're saying the wrong string is shorter (or that the two strings are the same). (Evil edge cases 'Я' us!)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"