[Bug libstdc++/29379] bad thousand separator with UTF-8 locales
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Sat Oct 7 17:03:00 GMT 2006
------- Comment #1 from pcarlini at suse dot de 2006-10-07 17:03 -------
This a well known not a bug (I'm sure similar issues are discussed in the
mailing list, also user code implementing char <-> char conversions via iconv):
output to UTF-8 is done by wchar_t streams (thus, for example, wcout not cout),
which use a std::codecvt<wchar_t, char, mbstate_t> to convert from the internal
wchar_t representation to an external sequence of UTF-8 chars: note that
nothing in the standard mandates the availability in the library of non-trivial
conversions char <-> char. Many examples of proper UTF-8 output in the
testsuite.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29379
More information about the Gcc-bugs
mailing list