Project-New-Reign---Nemesis-Main icon indicating copy to clipboard operation
Project-New-Reign---Nemesis-Main copied to clipboard

The commit titled `Replaced codecvt with string reconstruction from character method` from April 14th of last year swapped completely correct code out for completely incorrect code, for seemingly no reason

Open Akira13641 opened this issue 3 years ago • 0 comments

This one, specifically.

transform_to will only work properly in contexts where the string being transformed (in either direction) does not actually contain bytes amounting to non-ASCII characters in the first place. Otherwise, it'll either throw something like std::range_error when called or simply produce output containing "garbage" characters.

This particular issue can be entirely resolved just by completely reverting the changes made by that commit.

Akira13641 avatar Dec 16 '21 20:12 Akira13641