UTF-8 support - char or wchar_t?
Paolo Carlini
pcarlini@suse.de
Mon Jun 21 16:29:00 GMT 2004
Martin Sebor wrote:
> I'm not sure I understand what you mean.
Likewise ;)
> fstream must use the codecvt facet that's installed in the locale
> imbued in it. If
> the fstream object is imbued with locale("fi_FI.UTF-8") it must
> use codecvt_byname<char, char>.
Could you please cite the specific section of the standard requiring this?
Definitely, *not* 27.8.1.1, p5.
> There isn't any codecvt<char, char> in any named locale other than C
> or POSIX.
For that matter, I don't think any instantiation of codecvt_byname is
required...
Paolo.
More information about the Libstdc++
mailing list