emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort-lines including non ASCII


From: Uwe Brauer
Subject: Re: sort-lines including non ASCII
Date: Thu, 07 Jul 2016 07:41:03 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)


   > Because you are thinking Spanish, I presume.  Emacs by default is not
   > sensitive to the current locale or language, when it compares strings,
   > and instead does that in binary order of the characters' Unicode
   > codepoints.  The advantage is that the order comes out the same in any
   > locale.

Hm I just made an experiment with Hebrew, with and without niqqud and
indeed 

בית
אבא
אוויר

Is sorted correctly and also



אוויר
בית
אַבָא

So the niqqud does not influence the sorting but the accent in spanish
does. Most likely Unicode is the culprit here, but it is contra
intuitive.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]