Fix a bug that corrupted some three-byte UTF-8 character encodings
Authored by: david_costanzo 2019-12-29
Parent: [r5084]
Child: [r5086]