summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-05-15 09:32:07 +0200
committerJim Meyering <meyering@redhat.com>2008-05-15 09:33:33 +0200
commit513a23585815e4fc7a2b539086a9e8cf67da5c15 (patch)
treeba2a49411d8d6828cbbe470afc980f2ab7de3d2f /doc
parent433881d802324d9f98d1ef0d3ced4222c9f65a5e (diff)
downloadcoreutils-513a23585815e4fc7a2b539086a9e8cf67da5c15.tar.xz
doc: some Unicode characters cannot be specified via \u or \U
* doc/coreutils.texi (printf invocation): Clarify invalid ranges for Unicode character escape syntax.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 206f8dd82..982ad3c74 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -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),