Skip to content

Feature: unicode characters to ascii fuzzy equivalents#207

Description

@gabriel

Thanks for this library!

"饾敪饾敩饾敱饾敠饾敩饾敨 饾敯饾敘饾敥饾敥饾敘饾敮".to_ascii
=> "?????? ??????"

Would be a nice enhancement for this to output:

"饾敪饾敩饾敱饾敠饾敩饾敨 饾敯饾敘饾敥饾敥饾敘饾敮".to_ascii
=> "potion seller"

There is a unicode-tools python library that can handle this, e.g.:
https://unicode.scarfboy.com/?s=%F0%9D%94%AD%F0%9D%94%AC%F0%9D%94%B1%F0%9D%94%A6%F0%9D%94%AC%F0%9D%94%AB+%F0%9D%94%B0%F0%9D%94%A2%F0%9D%94%A9%F0%9D%94%A9%F0%9D%94%A2%F0%9D%94%AF

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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