[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t
From: |
Michael Heerdegen |
Subject: |
bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t |
Date: |
Wed, 30 Jul 2014 17:11:01 +0200 |
Hello,
sorry if this is just a unibyte/multibyte thing I don't understand, but
it makes no sense to me:
(let ((str "École")
(case-fold-search t))
(when (string-match "[[:upper:]]" str)
(match-string 0 str)))
==> "c"
However,
(let ((str "École")
(case-fold-search nil))
(when (string-match "[[:upper:]]" str)
(match-string 0 str)))
==> "É"
I would expect "É" in both examples.
Thanks,
Michael.
In GNU Emacs 24.3.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)
of 2014-07-17 on drachen
Windowing system distributor `The X.Org Foundation', version 11.0.11600000
System Description: Debian GNU/Linux testing (jessie)
Important settings:
value of $LC_ALL: de_DE.utf8
value of $LC_COLLATE: C
value of $LC_TIME: C
value of $LANG: de_DE.utf8
locale-coding-system: utf-8-unix
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t,
Michael Heerdegen <=