doc: some Unicode characters cannot be specified via \u or \U
authorBruno Haible <bruno@clisp.org>
Thu, 15 May 2008 07:32:07 +0000 (09:32 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 15 May 2008 07:33:33 +0000 (09:33 +0200)
* doc/coreutils.texi (printf invocation): Clarify invalid ranges for
Unicode character escape syntax.

doc/coreutils.texi

index 206f8dd..982ad3c 100644 (file)
@@ -10302,7 +10302,9 @@ characters, specified as
 four hexadecimal digits @var{hhhh}, and @samp{\U} for 32-bit Unicode
 characters, specified as eight hexadecimal digits @var{hhhhhhhh}.
 @command{printf} outputs the Unicode characters
-according to the @env{LC_CTYPE} locale.
+according to the @env{LC_CTYPE} locale.  Unicode characters in the ranges
+U+0000...U+009F, U+D800...U+DFFF cannot be specified by this syntax, except
+for U+0024 ($), U+0040 (@@), and U+0060 (@`).
 
 The processing of @samp{\u} and @samp{\U} requires a full-featured
 @code{iconv} facility.  It is activated on systems with glibc 2.2 (or newer),