This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFH] Which is the value of __nl_langinfo_l(__CURRENCY_SYMBOL,loc) for xx_XX@euro locales?


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   `------------------------

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]