andrewrk / andrewrk/node-diacritics

Use Unicode normalization?

Aperta
#22 0 commenti 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
270
Fork
32
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Unicode defines normalized forms for characters and character classes.

It might work to normalize strings to NFKD and remove any characters of class Mn (Nonspacing_Mark) (see [table 12](http://www.unicode.org/reports/tr44/#GC_Values_Table))

It might be necessary to specially handle conversions like ß to ss

See also [python stack overflow answer](http://stackoverflow.com/a/1410365/2607762)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.