This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/70893] codecvt incorrectly decodes UTF-16
- From: "kirillnow at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 01 May 2016 14:01:50 +0000
- Subject: [Bug libstdc++/70893] codecvt incorrectly decodes UTF-16
- Auto-submitted: auto-generated
- References: <bug-70893-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70893
--- Comment #2 from ÐÐÑÐÐÐ <kirillnow at gmail dot com> ---
...
Just realized its wrong endianness problem.
codecvt_utf8_utf16 should assume utf16be by default, right? Apparently, no.