Re: builtin printf not printing unicode characters?

2008-05-13 Thread pk
On Sunday 11 May 2008 04:16, Chet Ramey wrote: > pk wrote: >> The man page says that bash builtin printf supports the standard >> printf(1) formats. But it seems that \u is not working: >> >> $ /usr/bin/printf '\u212b\n' >> Å >> $ printf '\u212b\n' >> \u212b >> >> Am I doing something wrong

Re: builtin printf not printing unicode characters?

2008-05-12 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Chet Ramey on 5/10/2008 8:16 PM: | The `\u' format string escape is not standard. I will consider it for a | future enhancement. You may also be interested in this recent thread on coreutils' printf and \u: http://lists.gnu.org/archive/

Re: builtin printf not printing unicode characters?

2008-05-12 Thread Chet Ramey
pk wrote: The man page says that bash builtin printf supports the standard printf(1) formats. But it seems that \u 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

builtin printf not printing unicode characters?

2008-05-09 Thread pk
The man page says that bash builtin printf supports the standard printf(1) formats. But it seems that \u is not working: $ /usr/bin/printf '\u212b\n' Å $ printf '\u212b\n' \u212b Am I doing something wrong here? I see the same behavior with GNU bash, version 3.2.13(1)-release (i486-pc-linux-