12 Jun
2017
12 Jun
'17
9:03 a.m.
On Mon, Jun 12, 2017 at 11:15 AM, Artyom Beilis via Boost < boost@lists.boost.org> wrote:
No, modified utf-8 is not supported since it isn't utf-8 it will be considered invalid encoding.
On a related note, does it support WTF-8? I.e. encoding lone UTF-16 surrogates (malformed UTF-16 sequences) within the UTF-8 scheme. It is needed to guarantee UTF-16 → UTF-8 → UTF-16 roundtrip of invalid UTF-16 data on Windows, and is not an invalid behavior per se, because all valid UTF-16 sequences still map bijectively onto valid UTF-8 sequences. -- Yakov Galka http://stannum.co.il/