Doesn't seem to work
Opened this issue · 4 comments
freder commented
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 commented
hmm, looks like I have to call .normalize('NFC')
on the string first.
rdbmax commented
.normalize
not supported by IE
alexbeletsky commented
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