Fixes malformed character.