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] Trouble with mbsrtowcs and "\244" (Euro symbol)


Paolo Carlini <pcarlini@unitus.it> writes:

> What happens is that *__wcs turns out to be (unexpectedly to us) 6384 
[...]
> What does 6384 mean?

Are you sure you are not getting 8364 instead? This is U+20AC, which is

<U20AC>     /xa4         EURO SIGN

(from /usr/share/i18n/charmaps/ISO-8859-15.gz)

Why is it unexpected for you that the currency symbol is the EURO SIGN
in the de_DE@euro locale?

Or, why is it unexpected to you that the euro sign has the Unicode
ordinal 8364?

IOW: What are you trying to do that these numbers matter? (I'm really
curious)

Regards,
Martin


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