Function deunicode::deunicode_with_tofu
source · pub fn deunicode_with_tofu(s: &str, custom_placeholder: &str) -> String
Expand description
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.