unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: 1727-done@debbugs.gnu.org
Subject: bug#1727: 23.0.60; char syntax for non-breaking space
Date: Sun, 12 Jun 2016 11:58:30 -0400	[thread overview]
Message-ID: <CAM-tV-9_woL_h=a_G+F0RcNcNmGA3FLd4SFrJ7MVdnHYKF8qPQ@mail.gmail.com> (raw)
In-Reply-To: <E1LHFHX-0005n1-CQ@fencepost.gnu.org>

The discrepancy between char and string escaping syntax is currently
documented under "Non-ASCII Characters in Strings":

   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-12 15:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-29 10:23 bug#1727: 23.0.60; char syntax for non-breaking space Richard M Stallman
2008-12-29 18:43 ` martin rudalics
2008-12-29 19:23 ` Eli Zaretskii
2008-12-30 22:26   ` Richard M Stallman
2009-01-02 14:35     ` Eli Zaretskii
2009-01-03 15:21       ` Richard M Stallman
2016-06-12 15:58 ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM-tV-9_woL_h=a_G+F0RcNcNmGA3FLd4SFrJ7MVdnHYKF8qPQ@mail.gmail.com' \
    --to=npostavs@users.sourceforge.net \
    --cc=1727-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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).