From: Michael Heerdegen <michael_heerdegen@web.de>
To: 18150@debbugs.gnu.org
Subject: bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t
Date: Wed, 30 Jul 2014 17:11:01 +0200 [thread overview]
Message-ID: <87oaw6lw56.fsf@web.de> (raw)
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
next reply other threads:[~2014-07-30 15:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 15:11 Michael Heerdegen [this message]
2016-02-16 14:53 ` bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t Marcin Borkowski
2016-02-16 18:09 ` Eli Zaretskii
2016-02-16 18:38 ` Michael Heerdegen
2016-02-16 18:57 ` Eli Zaretskii
2016-02-20 11:06 ` Eli Zaretskii
2016-02-20 12:09 ` Michael Heerdegen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oaw6lw56.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=18150@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.