[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug libstdc++/29379] bad thousand separator with UTF-8 locales




------- Comment #2 from pcarlini at suse dot de  2006-10-07 17:28 -------
Forgot to add: after having properly switched to a wchar_t stream, we must make
sure that it actually does the conversion: the clean solution via std::codecvt
is used by default only in converting streams (file streams), whereas calling
at the outset std::ios::sync_with_stdio(false) is needed for wcout.
Alternately, "C-style", one can change the global locale and exploit the
conversion "behind the scenes" carried out by the individual underlying putwc.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29379

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: