bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: builtin printf not printing unicode characters?


From: Chet Ramey
Subject: Re: builtin printf not printing unicode characters?
Date: Sat, 10 May 2008 22:16:17 -0400

pk wrote:
The man page says that bash builtin printf supports the standard printf(1)
formats. But it seems that \uHHHH is not working:

$ /usr/bin/printf '\u212b\n'
Å
$ printf '\u212b\n'
\u212b

Am I doing something wrong here?

The `\u' format string escape is not standard.  I will consider it for a
future enhancement.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]