pub fn encode_utf8(out: &mut Vec<u8>, cp: u32)
Encode a Unicode code point as UTF-8 (up to the legacy 6-byte form, matching encodeUTF8), appending the bytes to out. Port of UTF8.cpp:encodeUTF8.
encodeUTF8
out
UTF8.cpp:encodeUTF8