[][src]Function hfs_nfd::compose_from_hfs_nfd

pub fn compose_from_hfs_nfd<'a, S: Into<Cow<'a, str>>>(input: S) -> String

Restores a commonly encoded string from one applied the Unicode decomposition similar to NFS used in HFS+ to

Arguments

  • input - A string to be restored from

Examples

use hfs_nfd::compose_from_hfs_nfd;
assert_eq!(&compose_from_hfs_nfd("Poke\u{0301}mon"), "Pok\u{00E9}mon");