[Bug 251674] std::wcout doesn't print unicode wide characters
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Dec 8 04:14:50 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251674
--- Comment #5 from Yuri Pankov <yuripv at FreeBSD.org> ---
(In reply to Yuri Victorovich from comment #4)
So it's full of wonders, for clang you need:
std::wcout.imbue(std::locale(""));
...and for gcc you need:
setlocale(LC_ALL, "");
Reproduced the same with clang/libc++ 10/11 on Debian, so it does not seem to
be FreeBSD specific.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list