Function unidecode::unidecode_char [] [src]

pub fn unidecode_char(ch: char) -> &'static str

This function takes a single Unicode character and returns an ASCII transliteration.

The warnings and guarantees of unidecode() apply to this function as well.

Examples

assert_eq!(unidecode_char('Æ'), "AE");
assert_eq!(unidecode_char('北'), "Bei ");