[−][src]Function any_ascii::any_ascii
pub fn any_ascii(s: &str) -> String
Transliterates a Unicode String into ASCII.
assert_eq!("anthropoi", any_ascii("άνθρωποι")); assert_eq!("sample", any_ascii("sample")); assert_eq!("ShenZhen", any_ascii("深圳")); assert_eq!("Boris", any_ascii("Борис")); assert_eq!("toyota", any_ascii("トヨタ"));