Unicode Utilities: Confusables

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Confusables

    Simple library for matching a string to another string that is same but has letters that only *look* the same as original string

  • Years ago I created a Python library for generating regex to match confusables:

    https://github.com/wanderingstan/Confusables

    For example, "๐“—โ„ฎ๐ฅ1เณฆ" matches "Hello".

    "Hello" gets turned into the following regex of character classes:

    [H\๏ผจ\โ„‹\โ„Œ\โ„\๐‡\๐ป\๐‘ฏ\๐“—\๐•ณ\๐–ง\๐—›\๐˜\๐™ƒ\๐™ท\ฮ—\๐šฎ\๐›จ\๐œข\๐œ\๐ž–\โฒŽ\ะ\แŽป\แ•ผ\๊“ง\๐‹\โฑง\าข\ฤฆ\ำ‰\ำ‡]

  • confusables

    A nodejs library for removing confusable unicode characters from strings. (by gc)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • libu8ident

    unicode security guidelines for identifiers

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts