On 5/20/11 3:31 AM, Linda Walsh wrote:
>
> It appears printf in bash doesn't support unicode
> characters in a couple of ways:
>
> 1) use of of the \uXXXX and \UXXXXXXXX escape sequences
> in the format string (16 and 32 bit Unicode values).
Bash-4.2 added support for the \u and \U format string escapes.
They're still not in Posix, but should go in for the next revision.
> 2) It doesn't handle the "%lc" conversion to print out wide
> characters.
Also not in Posix, and of questionable value at the shell level.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/