[][src]Function deunicode::deunicode_with_tofu

pub fn deunicode_with_tofu(s: &str, custom_placeholder: &str) -> String

Same as deunicode, but unknown characters can be replaced with a custom string.

"Tofu" is a nickname for a replacement character, which in Unicode fonts usually looks like a block of tofu.