On 19/04/18 03:11, Stephan Seitz wrote:
Can you please give an example for the sorting difference in different locales if you only have english words (and I would say it means only ASCII in this case)?

In the C locale, all uppercase letters are sorted before all lowercase letters:

$ echo -e "buster\nStretch" | LC_COLLATE=C sort
Stretch
buster

In en_GB, by comparison:

$ echo -e "buster\nStretch" | LC_COLLATE=en_GB.utf8 sort
buster
Stretch

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

Reply via email to