Project-New-Reign---Nemesis-Main
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
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.