all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t
@ 2014-07-30 15:11 Michael Heerdegen
  2016-02-16 14:53 ` Marcin Borkowski
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Heerdegen @ 2014-07-30 15:11 UTC (permalink / raw)
  To: 18150


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






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-02-20 12:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30 15:11 bug#18150: 24.3.92; Uppercase umlauts and case-fold-search t Michael Heerdegen
2016-02-16 14:53 ` 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

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.