Function xml5ever::tendril::encoding_rs::mem::ensure_utf16_validity

source ยท
pub fn ensure_utf16_validity(buffer: &mut [u16])
Expand description

Replaces unpaired surrogates in the input with the REPLACEMENT CHARACTER.