[][src]Function hfs_nfd::decompose_into_hfs_nfd

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

Applies the Unicode decomposition similar to NFD used in HFS+

Arguments

  • input - A string to be decomposed

Examples

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