pub fn encode(charset_name: &str, input: &str) -> String
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.
charset_name