emacs-devel
[Top][All Lists]
Advanced

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

Re: case-insensitive string comparison


From: Sam Steingold
Subject: Re: case-insensitive string comparison
Date: Tue, 19 Jul 2022 14:56:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

> * Mattias Engdegård <znggvnfr@npz.bet> [2022-07-19 20:06:50 +0200]:
>
> 19 juli 2022 kl. 19.27 skrev Sam Steingold <sds@gnu.org>:
>
>> (defun string-equal-ignore-case (s1 s2)
>
> What would you tell someone complaining that
>
>   (let ((rue "Straße"))
>     (string-equal-ignore-case rue (upcase rue)))
>
> returns nil? Asking for a friend.

This is a well-known bug in user code.
https://stackoverflow.com/q/319426/850781

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2113
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://iris.org.il https://jij.org https://www.dhimmitude.org https://ij.org/
If a Somali pirate uses a legal Windows version, is he still a pirate?



reply via email to

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