tyxla/remove-accents

Doesn't seem to work

Opened this issue · 4 comments

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

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

.normalize not supported by IE

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