FGRibreau / FGRibreau/node-unidecode

`−` is returning `[?]`

Open
#35 3 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

Hi,

I'd like to report a bug, unidecode seems to fail when trying to transform `−`:
```js
var unidecode = require('unidecode');
unidecode('ABC−1')
```

Gives: ` ABC[?]1`
Expected value: ` ABC-1`

Contributor guide

Open the contributing guide

Research direction

Start by running the reported require('unidecode') reproduction with `ABC−1` and compare it with the expected `ABC-1` result. Locate the transliteration entry point and mapping used for `−`; done means this input returns the expected ASCII hyphen without changing the surrounding characters.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.