[Bug 251674] std::wcout doesn't print unicode wide characters

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 8 01:43:33 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251674

--- Comment #2 from Yuri Pankov <yuripv at FreeBSD.org> ---
Now searching the web a bit for this got me the following which apparently
"fixes" the issue:

        std::locale mylocale("");
        std::wcout.imbue(mylocale);

As I know next to nothing about c++, wonder why the difference in requirements
between clang (libc++?) and gcc (libstdc++?).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list