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

Doesn't seem to work #17

Open
freder opened this issue Jun 6, 2018 · 4 comments
Open

Doesn't seem to work #17

freder opened this issue Jun 6, 2018 · 4 comments

Comments

@freder
Copy link

freder commented Jun 6, 2018

const removeAccents = require('remove-accents');

console.log(
	removeAccents('ÀÁÂÃÄÅ')
); // AAAAAA
console.log(
	removeAccents('Capture d’écran 2018-06-05 à 10.09.54.png')
); // Capture d’écran 2018-06-05 à 10.09.54.png
@freder
Copy link
Author

freder commented Jun 6, 2018

hmm, looks like I have to call .normalize('NFC') on the string first.

@rdbmax
Copy link

rdbmax commented Jun 28, 2018

.normalize not supported by IE

@alexbeletsky
Copy link

Same for me,

input: Screen ö Shot 2018-09-20 at 11.09.57.png
ouput: Screen ö Shot 2018-09-20 at 11.09.57.png

@michaelguild13
Copy link

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

No branches or pull requests

4 participants