ignoring incompatible code points when re-encoding to byte-strings