emacs-devel
[Top][All Lists]
Advanced

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

Re: case-insensitive string comparison


From: Eli Zaretskii
Subject: Re: case-insensitive string comparison
Date: Wed, 20 Jul 2022 14:35:21 +0300

> Date: Wed, 20 Jul 2022 06:39:46 +0200
> Cc: Mattias Engdegård <mattiase@acm.org>
> From: <tomas@tuxteam.de>
> 
> One case (heh) which gets too little attention in that
> (good) ref is "i" "ı" vs. "İ" vs. "I". You've to decide
> on a language environment to get a chance of doing it
> right (in Latin languages there are only 1 and 4, and
> they map to each other, in Turkic languages 1 and 3
> correspond, as 2 and 4 do).
> 
> The ref to the Unicode FAQ [1] from your ref shows that
> even the Unicode folks have given up on that. To me, it
> looks like an especially sleazy way to admit "well, folks,
> we've messed up on this one".
> 
> Human languages are a messy mix, in which politics figures
> prominently. Unicode reflects that.

This could be hard on the Unicode Consortium, but relatively easy in
Emacs: just bind the case table of the current buffer to something
reasonable around code which performs case-insensitive comparison.



reply via email to

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