all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chip Coldwell <coldwell@redhat.com>
Subject: regex encoding
Date: Tue, 1 Aug 2006 15:09:46 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0608011501120.2363@localhost.localdomain> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 790 bytes --]


Looking at lisp/textmodes/ispell.el, there are a number of regular
expressions such as this one taken from the "german8" entry of
ispell-dictionary-alist-4:

[a-zA-Z\304\326\334\344\366\337\374]

The last seven numeric character codes in the above are the iso-8859-1
(ISO Latin-1) encodings for letters used in German that are not
encoded by ASCII.  If your mail reader can handle UTF-8, the
characters represented by these iso-8859-1 codes look like this:

[a-zA-ZÄÖÜäößü]

My question is: are emacs regex character classes limited to the
iso-8859-1 character set, or is there some way to represent Unicode
(such as UTF-8) characters in a character class?

Thanks,

Chip

-- 
Charles M. "Chip" Coldwell
Senior Software Engineer
Red Hat, Inc
978-392-2426

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

             reply	other threads:[~2006-08-01 19:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-01 19:09 Chip Coldwell [this message]
2006-08-01 19:46 ` regex encoding Reiner Steib
2006-08-01 20:38   ` Chip Coldwell
2006-08-01 20:40     ` Chip Coldwell

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=Pine.LNX.4.64.0608011501120.2363@localhost.localdomain \
    --to=coldwell@redhat.com \
    /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.