# HG changeset patch # User Richard M. Stallman # Date 1150471146 0 # Node ID f86289963a5c568a6fcfb08a6f60084548cfa4f2 # Parent c46f87481f13c24813fa9cac7c7663ba0caf00ac (Character Type): Clarify prev. change. (Non-ASCII in Strings): Mention \u and \U. diff -r c46f87481f13 -r f86289963a5c lispref/objects.texi --- a/lispref/objects.texi Fri Jun 16 15:18:03 2006 +0000 +++ b/lispref/objects.texi Fri Jun 16 15:19:06 2006 +0000 @@ -440,9 +440,9 @@ 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 @@ 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.