[RFH] Trouble with mbsrtowcs and "\244" (Euro symbol)

Martin v. Loewis martin@v.loewis.de
Sun May 12 22:25:00 GMT 2002


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



More information about the Libc-alpha mailing list