[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printf unicode documentation
From: |
Paul Eggert |
Subject: |
Re: printf unicode documentation |
Date: |
Tue, 12 Oct 2004 16:43:32 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Dan Jacobson <address@hidden> writes:
> BTW, in Info are you sure
> $ LC_CTYPE=zh_CN.big5 /usr/local/bin/printf \
> '\u4e2d\u6587\n' > sample.txt
> does what you intend?
You need to have the proper locale support. I'm not sure
what "qp-encode" is supposed to do, so I'm not sure what
to do with the rest of your email.
> $ man printf|grep -i unicode
> (finds none); not just on the Info page.
I think that's fixed in CVS, as printf --help outputs this:
...
\uNNNN character with hexadecimal value NNNN (4 digits)
\UNNNNNNNN character with hexadecimal value NNNNNNNN (8 digits)
...
and the man page is similar.