Function local_encoding::posix::string_to_ansi
[−]
[src]
pub fn string_to_ansi(data: &str) -> Result<Vec<u8>>
Convert String to ANSI 8-bit string.
On non-Windows systems convert String to UTF-8.