bug-bash
[Top][All Lists]
Advanced

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

Re: BUG? RFE? printf lacking unicode support in multiple areas


From: Linda Walsh
Subject: Re: BUG? RFE? printf lacking unicode support in multiple areas
Date: Fri, 20 May 2011 11:57:14 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Thunderbird/2.0.0.24 Mnenhy/0.7.6.666



Pierre Gaston wrote:
On Fri, May 20, 2011 at 10:31 AM, Linda Walsh <bash@tlinx.org> 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).

$ printf '%s: \u6444\n' $BASH_VERSION
4.2.8(1)-release: 摄


Ah, thanks!   My bash (4.0.x is too old...)

Am in process of upgrading my distro, so that should help...

Thanks for the common sense answer.



reply via email to

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