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 20:16:29 +0300

> From: Sam Steingold <sds@gnu.org>
> Date: Wed, 20 Jul 2022 13:06:41 -0400
> 
> > - BBDB needs to know whether a name is already present in the database
> >   or not, ignoring case.  The function bbdb-string= is again what Sam
> >   suggests to put into subr.el.  The function string-collate-equalp
> >   might be better suited for this.  But which locale should it use?
> 
> `bbdb-file-coding-system' ?

That's not the locale, that's a locale's _codeset_.

> > Is there a "univeral default locale"?
> 
> UTF-8 is, I think, the generally accepted universal default today.

There's no such locale, AFAIK.  UTF-8 is again just a codeset.




reply via email to

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