all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: 4848-done@debbugs.gnu.org
Subject: bug#4848: 23.1.50; \u and \x in string
Date: Mon, 13 Jun 2016 22:45:33 -0400	[thread overview]
Message-ID: <CAM-tV-8c5e=oZri6vDFiqwZW+HrsN14YB4z_M=_h0jjGRKP=ag@mail.gmail.com> (raw)
In-Reply-To: <E1N4pVd-0008CS-LQ@fencepost.gnu.org>

"Non-ASCII In Strings" now (24.5) says the following which explains
about "\xN" producing unibyte characters.

   You can also use hexadecimal escape sequences (‘\xN’) and octal
escape sequences (‘\N’) in string constants.  *But beware:* If a string
constant contains hexadecimal or octal escape sequences, and these
escape sequences all specify unibyte characters (i.e., less than 256),
and there are no other literal non-ASCII characters or Unicode-style
escape sequences in the string, then Emacs automatically assumes that it
is a unibyte string.  That is to say, it assumes that all non-ASCII
characters occurring in the string are 8-bit raw bytes.





      parent reply	other threads:[~2016-06-14  2:45 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
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 [this message]

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='CAM-tV-8c5e=oZri6vDFiqwZW+HrsN14YB4z_M=_h0jjGRKP=ag@mail.gmail.com' \
    --to=npostavs@users.sourceforge.net \
    --cc=4848-done@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.