; Minor wording fix in ELisp reference manual
* doc/lispref/objects.texi (General Escape Syntax): More accurate wording. Avoid non-ASCII characters in Texinfo. (Bug#62224)
This commit is contained in:
parent
5cf1de683b
commit
a2222b9a9b
1 changed files with 8 additions and 7 deletions
|
@ -466,19 +466,20 @@ You can specify characters by their Unicode values.
|
||||||
@code{?\u@var{xxxx}} and @code{?\U@var{xxxxxxxx}} represent code
|
@code{?\u@var{xxxx}} and @code{?\U@var{xxxxxxxx}} represent code
|
||||||
points @var{xxxx} and @var{xxxxxxxx}, respectively, where each @var{x}
|
points @var{xxxx} and @var{xxxxxxxx}, respectively, where each @var{x}
|
||||||
is a single hexadecimal digit. For example, @code{?\N@{U+E0@}},
|
is a single hexadecimal digit. For example, @code{?\N@{U+E0@}},
|
||||||
@code{?\u00e0} and @code{?\U000000E0} are all equivalent to @code{?à}
|
@code{?\u00e0} and @code{?\U000000E0} are all equivalent to
|
||||||
and to @samp{?\N@{LATIN SMALL LETTER A WITH GRAVE@}}. The Unicode
|
@code{?@`a} and to @samp{?\N@{LATIN SMALL LETTER A WITH GRAVE@}}. The
|
||||||
Standard defines code points only up to @samp{U+@var{10ffff}}, so if
|
Unicode Standard defines code points only up to @samp{U+@var{10ffff}},
|
||||||
you specify a code point higher than that, Emacs signals an error.
|
so if you specify a code point higher than that, Emacs signals an
|
||||||
|
error.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
You can specify characters by their hexadecimal character
|
You can specify characters by their hexadecimal character
|
||||||
codes. A hexadecimal escape sequence consists of a backslash,
|
codes. A hexadecimal escape sequence consists of a backslash,
|
||||||
@samp{x}, and the hexadecimal character code. Thus, @samp{?\x41} is
|
@samp{x}, and the hexadecimal character code. Thus, @samp{?\x41} is
|
||||||
the character @kbd{A}, @samp{?\x1} is the character @kbd{C-a}, and
|
the character @kbd{A}, @samp{?\x1} is the character @kbd{C-a}, and
|
||||||
@code{?\xe0} is the character @kbd{à} (@kbd{a} with grave accent).
|
@code{?\xe0} is the character @kbd{@`a} (@kbd{a} with grave accent).
|
||||||
You can use any number of hex digits, so you can represent any
|
You can use one or more hex digits after @samp{x}, so you can
|
||||||
character code in this way.
|
represent any character code in this way.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
@cindex octal character code
|
@cindex octal character code
|
||||||
|
|
Loading…
Add table
Reference in a new issue