Fixes surrogate pair decoding.