Skip to main content

encode

Function encode 

Source
pub fn encode(input: &str, charset: VietCharset) -> Vec<u8> ⓘ
Expand description

Encode a UTF-8 string to target charset bytes.