Re: /usr/bin/printf: invalid universal character name
From:
Jim Meyering
Subject:
Re: /usr/bin/printf: invalid universal character name
Date:
Thu, 15 May 2008 08:45:18 +0200
Jim Meyering <address@hidden> wrote:
> Hermann Peifer <address@hidden> wrote:
>> Is this case closed now and we simply agree that, for whatever
>> (potentially good) reason: printf "\uHHHH" only prints 3 characters
>> (DOLLAR SIGN, COMMERCIAL AT and GRAVE ACCENT) in the range
>> \u0000..\u009f
>
> It's not closed.
> I'm hoping that someone who knows more about this will chime in with a
> definitive answer. I've Cc'd a few people who might be able to help.
>
> For newcomers, the thread started here:
>http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13550
Herman,
I suggest you use perl rather than GNU printf:
perl -CS -e 'print pack("U", 0x263a)'