bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#13041: 24.2; diacritic-fold-search


From: Kenichi Handa
Subject: bug#13041: 24.2; diacritic-fold-search
Date: Thu, 06 Dec 2012 18:25:12 +0900

In article <707786B35E94470FB727BCF7F3DDA41A@us.oracle.com>, "Drew Adams" 
<drew.adams@oracle.com> writes:

> This version of Martin's function (but respecting `case-fold-search') is 
> maybe a
> tiny bit simpler.  It could also be a bit slower because of `substring'
> returning a copy (vs just incrementing an offset).  It should also be checked
> for correctness - not really tested.  FWIW/HTH.

Emacs contains ucs-normailze package which provides various
normalization functions.  For instance,

(require 'ucs-normalize)
(ucs-normalize-NFKD-string "Äffin") => "Äffin"

Isn't it usable?

---
Kenichi Handa
handa@gnu.org





reply via email to

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