Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is returning [?] #35

Open
ahmedelq opened this issue Sep 30, 2024 · 2 comments
Open

is returning [?] #35

ahmedelq opened this issue Sep 30, 2024 · 2 comments

Comments

@ahmedelq
Copy link

Hi,

I'd like to report a bug, unidecode seems to fail when trying to transform :

var unidecode = require('unidecode');
unidecode('ABC−1')

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

@FGRibreau
Copy link
Owner

Hello @ahmedelq,

thanks for your report, please give a look at https://github.com/FGRibreau/node-unidecode/blob/master/CONTRIBUTING.md if you wish to contribute :)

@FGRibreau
Copy link
Owner

Use unidecode("ABC-1", ""); if you wish to set the "" placeholder :)

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

No branches or pull requests

2 participants