Skip to content

Unidecode doesn't decode string #9

@rlaferla

Description

@rlaferla
use unidecode::unidecode;

#[test]
fn homoglyph_test() {
    let input = "A Α А Ꭺ ᗅ ᴀ ꓮ A 𐊠 𝐀 𝐴 𝑨 𝒜 𝓐 𝔄 𝔸 𝕬 𝖠 𝗔 𝘈 𝘼 𝙰 𝚨 𝛢 𝜜 𝝖 𝞐";
    let output = unidecode(input);
    println!("{}", output);
}

OUTPUT:

running 1 test
A A A go gho [?] [?] A       

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions