From 513a23585815e4fc7a2b539086a9e8cf67da5c15 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 15 May 2008 09:32:07 +0200 Subject: doc: some Unicode characters cannot be specified via \u or \U * doc/coreutils.texi (printf invocation): Clarify invalid ranges for Unicode character escape syntax. --- doc/coreutils.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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), -- cgit v1.2.3-70-g09d2