version 1.1, 2014/08/05 05:48:56 |
version 1.2, 2014/10/28 14:06:31 |
Line 197 form, directly follows the initial backslash: |
|
Line 197 form, directly follows the initial backslash: |
|
Note that the one-character argument short form can only be used for |
Note that the one-character argument short form can only be used for |
argument characters that do not clash with escape sequence identifiers. |
argument characters that do not clash with escape sequence identifiers. |
.Pp |
.Pp |
If the argument consists of more than one character |
If the argument matches one of the forms described below under |
and starts with the character |
.Dv ESCAPE_UNICODE , |
.Sq u , |
that value is returned instead. |
.Dv ESCAPE_UNICODE |
|
is returned as described below. |
|
If the argument is just the single character |
|
.Sq u , |
|
.Dv ESCAPE_ERROR |
|
is returned. |
|
.Pp |
.Pp |
The |
The |
.Dv ESCAPE_SPECIAL |
.Dv ESCAPE_SPECIAL |
|
|
.It Dv ESCAPE_UNICODE |
.It Dv ESCAPE_UNICODE |
Escape sequences of the same format as described above under |
Escape sequences of the same format as described above under |
.Dv ESCAPE_SPECIAL , |
.Dv ESCAPE_SPECIAL , |
but with an argument starting with the character |
but with an argument of the forms |
.Sq u : |
.Ic u Ns Ar XXXX , |
|
.Ic u Ns Ar YXXXX , |
|
or |
|
.Ic u10 Ns Ar XXXX |
|
where |
|
.Ar X |
|
and |
|
.Ar Y |
|
are hexadecimal digits and |
|
.Ar Y |
|
is not zero: |
.Ic \eC'u , \e[u . |
.Ic \eC'u , \e[u . |
As a special exception, |
As a special exception, |
.Fa start |
.Fa start |
is set to the character after the |
is set to the character after the |
.Sq u , |
.Ic u , |
and the |
and the |
.Fa sz |
.Fa sz |
return value does not include the |
return value does not include the |
.Sq u |
.Ic u |
either. |
either. |
.Pp |
.Pp |
Such Unicode character escape sequences can be rendered using the function |
Such Unicode character escape sequences can be rendered using the function |