Function stringprep::nameprep

source ·
pub fn nameprep<'a>(s: &'a str) -> Result<Cow<'a, str>, Error>
Expand description

Prepares a string with the Nameprep profile of the stringprep algorithm.

Nameprep is defined in RFC 3491.