Re: BUG? RFE? printf lacking unicode support in multiple areas
From:
Andreas Schwab
Subject:
Re: BUG? RFE? printf lacking unicode support in multiple areas
Date:
Fri, 20 May 2011 10:07:03 +0200
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
Linda Walsh <bash@tlinx.org> writes:
> 2) It doesn't handle the "%lc" conversion to print out wide
> characters. To demonstrate this I created a wide char for a
> double exclamation mark U+203C, using a=$'0x3c\0x20' and then
That's not a wide character, that's a four character string. Since
there is no way to produce a word containing a NUL character it is
impossible to support %lc in any useful way.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."