This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: UTF-8 support - char or wchar_t?
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.