Rust implementation of the WTF-8 encoding.