Skip to main content

encode

Function encode 

Source
pub fn encode(charset_name: &str, input: &str) -> String
Expand description

Encodes a Vietnamese string into a specific character set (e.g., VNI-Windows, TCVN3).

If the charset_name is “Unicode”, it returns the input string unchanged.