Skip to main content

quote_name

Function quote_name 

Source
pub fn quote_name(name: &str, style: QuotingStyle, hide_control: bool) -> String
Expand description

Quote / escape a display name according to style.

When hide_control is true and the style is literal/locale, nongraphic characters are replaced with ? (GNU -q).