all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: rms@gnu.org
Cc: emacs-pretest-bug@gnu.org, 4848@emacsbugs.donarmstrong.com
Subject: bug#4848: 23.1.50; \u and \x in string
Date: Mon, 02 Nov 2009 02:17:10 -0500	[thread overview]
Message-ID: <jwveiohmm8j.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <E1N4pVd-0008CS-LQ@fencepost.gnu.org> (Richard Stallman's message of "Mon, 02 Nov 2009 00:31:17 -0500")

> "\ue1" gives the error "Non-hex digit used for Unicode escape".
> Why doesn't it work to give the Unicode character á?

I think you mean \u00e1

> Note that \xe1 does not work for this any more.

Indeed, this refers to the byte 225 rather than to the char 225.

> That too is confusing, and certainly not documented clearly where \x
> is explained.  Is there any way to specify unicode e1 with \x?

\x00e1 also works like \u00e1.


        Stefan





  reply	other threads:[~2009-11-02  7:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-02  5:31 bug#4848: 23.1.50; \u and \x in string Richard Stallman
2009-11-02  7:17 ` Stefan Monnier [this message]
2009-11-02  7:33   ` Jason Rumney
2009-11-03 13:39   ` Richard Stallman
2009-11-03 14:49     ` Stefan Monnier
2009-11-05  1:57       ` Richard Stallman
2009-11-05  2:48         ` Stefan Monnier
2009-11-03 18:35     ` Eli Zaretskii
2009-11-05  1:56       ` Richard Stallman
2016-06-14  2:45 ` Noam Postavsky

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=jwveiohmm8j.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=4848@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=rms@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.