[RFC] moneypunct<wchar_t>: mbsrtowcs or just btowc?
Paolo Carlini
pcarlini@suse.de
Thu Apr 8 21:19:00 GMT 2004
Hi Nate!
> It seems as if the int_currency_symbol can't be a multibyte string,
> because all the characters are in the basic source character set.
Well, I'm also under this impression. The C standard mentions here
ISO 4217. Is this consistent with your reading?
> The fourth character (if present) is a space, right?
Well, the standard doesn't say this explicitly, talks about "character
used to separate the international currency symbol from the monetary
quantity". The glibc docs point out "(often a space)"
Now, this "often space" ;) is part of the currency symbol or not for
our purposes? Humm... Now that I think more about this, I'm sure that
another implementation thinks (at variance with current v3) that is
*not* part of the currency symbol...
Paolo.
More information about the Libstdc++
mailing list