Overview
| Artifact ID: | 29137b4d392f7f6ca61045bb2bacbf90a66ccb66 |
|---|---|
| Ticket: | 3613609fffffffffffffffffffffffffffffffff
lsort -nocase does not sort non-ASCII correctly |
| User & Date: | apnadkarni on 2013-05-20 17:42:15 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
From the chat I don't expect the following two commands to give the same answer [00:00]apn(wits) 93 % lsort [list \u101 \u100] Ā ā (wits) 94 % lsort -nocase [list \u101 \u100] Ā ā [00:01]apnWith -nocase, I would expect the second command to return ā Ā [00:02]yukonbob exits, stage left! [00:02]apnjust like [00:02]apn(wits) 96 % lsort [list a A] A a (wits) 97 % lsort -nocase [list a A] a A [00:04]dgpfile the bug The issue boils down to MergeLists using strcasecmp which does not handle non-ASCII characters.
- foundin changed to: "current: 8.6.0"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "17. Commands I-L"
- title changed to: "lsort -nocase does not sort non-ASCII correctly"
- type changed to: "Bug"