mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
The code did not account for unicode escape sequences when inserting scrambling characters which distorted the text and fequently caused invalid UTF-8 sequences to appear in the text. This fixes that by using the text iterators already present in the game code. I needed to rewrite the logic of this block a bit since the previous logic could not be converted to the way we need to handle unicode sequences at the moment. This fixes #1720.