remove-accents icon indicating copy to clipboard operation
remove-accents copied to clipboard

Doesn't seem to work

Open freder opened this issue 6 years ago • 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

freder avatar Jun 06 '18 07:06 freder

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

freder avatar Jun 06 '18 08:06 freder

.normalize not supported by IE

rdbmax avatar Jun 28 '18 12:06 rdbmax

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

alexbeletsky avatar Sep 21 '18 09:09 alexbeletsky

https://caniuse.com/#search=normalize

michaelguild13 avatar Sep 26 '19 17:09 michaelguild13