Commit 11bfb693 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Character Type): Clarify prev. change.

(Non-ASCII in Strings): Mention \u and \U.
parent 76f008da
......@@ -440,9 +440,9 @@ different syntax for specifying characters with code points above
Unicode code point is @samp{U+@var{nnnnnn}}, if such a character
is supported by Emacs.
Unlike in some other programming languages, in Emacs Lisp this
syntax is available for character literals, and (see later) in
strings, but not elsewhere.
This peculiar and inconvenient syntax was adopted for compatibility
with other programming languages. Unlike some other languages, Emacs
Lisp supports this syntax in only character literals and strings.
@cindex @samp{\} in character constant
@cindex backslash in character constant
......@@ -1013,6 +1013,9 @@ this produces a unibyte string. However, using any hex escape in a
string (even for an @acronym{ASCII} character) forces the string to be
multibyte.
You can also specify characters in a string by their numeric values
in Unicode, using @samp{\u} and @samp{\U} (@pxref{Character Type}).
@xref{Text Representations}, for more information about the two
text representations.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment