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 16:13:20 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)






   > Unicode has nothing to do with this.  The difference between אַ and Á
   > is that the former is always 2 characters, while the latter is usually
   > only one.  That's why sort-lines produces what looks like correct
   > results with Hebrew.  To see the problem there, you need to sort אבא
   > with אַבָא and אתבשא, for example.  Or something similar.

Ok, well than there is a simple solution at hand, run iso-unaccentuate
over the lines, sort them, and run iso-accentuate again (these functions
are now in an obsolete package, which proves to be useful). I tried it
out is works nicely.

BTW why is Á considered as 1 but  אַ as two characters.




reply via email to

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