pub fn decode_text(charset: &str, bytes: &[u8]) -> Option<String>Expand description
Text in a named character set, as a string; None if the name is not
one of a character set that is known. A byte that the set has no
character for becomes U+FFFD.
This is for the compiler, which reads source files in whatever character set they say they are in, and uses the same tables as programs do.