Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Dec 2020 01:43:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251674] std::wcout doesn't print unicode wide characters
Message-ID:  <bug-251674-227-ukWaz5N7OP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251674-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251674-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251674

--- Comment #2 from Yuri Pankov <yuripv@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 requireme=
nts
between clang (libc++?) and gcc (libstdc++?).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251674-227-ukWaz5N7OP>