pub fn str_to_host(s: &str) -> Result<OsString>
Convert a &str which is either plain UTF-8 or an ARF encoding into a OsString ready for use in Windows-style APIs.
&str
OsString