Skip to content

gwydd12/libconfusables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libconfusables

A small C library to remove unicode confusables.

How To Use

const char *test_str = "𝐓𝐡𝖎𝑠 𝙞𝘴 𝒂 𝕥𝔢𝔰𝓽 𝓼𝕥𝕣𝓲𝓷𝓰 𝖜𝖎𝘁𝖍 𝓶𝓪𝓷𝔂 𝕔𝔬𝖓𝖋𝕦𝓼𝓪𝖇𝔩𝓮𝕤.";
char *result = replace_confusables(test_str);

if (result) {
    printf("Original: %s\n", test_str);
    printf("Processed: %s\n", result);
} else {
    printf("Something failed.\n");
}

return 0;

Alternatives

License

  • The library itself underlies the MIT LICENSE.

Releases

No releases published

Packages

No packages published

Languages