[RFH] Which is the value of __nl_langinfo_l(__CURRENCY_SYMBOL, loc) for xx_XX@euro locales?
Ulrich Drepper
drepper@redhat.com
Sat Apr 20 09:48:00 GMT 2002
On Sat, 2002-04-20 at 05:52, Paolo Carlini wrote:
> On my i686-pc-linux-gnu, glibc2.2.5 I get _M_curr_symbol equal to a single char, octal \244, when using xx_XX@euro localedata (and asking for the local, vs international, symbol).
>
> I'm really triggering an "undefined behavior" or does in fact make sense asking for a local monetary symbol of a xx_XX@euro locale, and \244 is part of a standard specification??
??? \244 is of course correct. I don't know what you expect. If you
select a @euro locale the charset of the locale is most of the time
ISO-8859-15 which has the Euro sign at that position.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020420/9da83ec5/attachment.sig>
More information about the Libc-alpha
mailing list