cpoakes wrote:The "locale" sets the sorting order, and I would guess you have a locale of UTF-8 or a related international value which tends to ignore punctuation but does get the accented characters next to the unaccented ones. Sounds like you may want a "C" or "POSIX" locale. Check out environment variables LC_COLLATE and LC_ALL or possibly command update-locale.
My .profile (used by bash and dash) sets LC_COLLATE=POSIX because I like old-school strict ASCII sorting ordering (uppercase before all lowercase, every character considered).
Demonstrate the difference to yourself with:
- Code: Select all
Users browsing this forum: No registered users and 4 guests