[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: |
Marcin Borkowski |
Subject: |
bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t |
Date: |
Tue, 16 Feb 2016 15:53:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Confirmed on emacs -Q (GNU Emacs 25.1.50.2, commit 4ccd268).
Best,
mb
On 2014-07-30, at 18:11, Michael Heerdegen <michael_heerdegen@web.de> wrote:
> 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
- bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t,
Marcin Borkowski <=