Function fluent_syntax::unicode::unescape_unicode_to_string [−][src]
Expand description
Unescapes to a Cow<str>
optionally allocating.
Example
use fluent_syntax::unicode::unescape_unicode_to_string;
assert_eq!(
unescape_unicode_to_string("Foo \\U01F60A Bar"),
"Foo 😊 Bar"
);