FGRibreau / FGRibreau/node-unidecode

Fancy latin script characters aren't handled

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
151
Forks
24
PR merge metrics
No merged PRs in 30d

Description

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('β„³π“Ž 𝓃𝒢𝓂ℯ π’Ύπ“ˆ β„³π’Άπ“‰π“‰π’½β„―π“Œ')
' '
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the Node.js REPL with the linked Latin-script characters and inspect how the package maps them during transliteration. Done means these characters produce meaningful ASCII transliterations instead of whitespace; the payload does not name any files or tests to begin with.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.