|
From: | Michael Albinus |
Subject: | bug#20316: 24.5; `string-lessp' doesn't respect value of LC_COLLATE |
Date: | Mon, 13 Apr 2015 08:18:21 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Alexis <flexibeast@gmail.com> writes: > (getenv "LC_COLLATE") => "hr_HR.UTF-8" > > (string-lessp "Ć" "D") => nil > (string-lessp "Đ" "S") => nil > (string-lessp "Š" "Z") => nil `string-lessp' is not design to respect collation order. The docstring speaks about lexicographoc order. In Emacs 25.0.50, there is `string-collate-lessp', with respects your locale settings. Best regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |