Skip to content

Fancy latin script characters aren't handled #37

@mwg-ofx

Description

@mwg-ofx

Basically every character here: https://glyphy.io/cool-symbols/latin

For producing text such as ℳ𝓎 𝓃𝒶𝓂ℯ 𝒾𝓈 ℳ𝒶𝓉𝓉𝒽ℯ𝓌.

It's transliterated as a bunch of whitespace:

❯ node
Welcome to Node.js v22.21.1.
Type ".help" for more information.
> const tr = require("unidecode")
undefined
> tr('ℳ𝓎 𝓃𝒶𝓂ℯ 𝒾𝓈 ℳ𝒶𝓉𝓉𝒽ℯ𝓌')
'   '

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions