Correctly handle incomplete characters.