andrewrk / node-diacritics

remove diacritics from strings ("ascii folding") - Node.js module
MIT License
263 stars 32 forks source link

Support for Arabic? #26

Open RashadSaleh opened 7 years ago

RashadSaleh commented 7 years ago

Hello. I wrote this function on stackoverflow that removes the most common Arabic diacritics, as well as normalizing some characters that are commonly (although incorrectly) substituted in place of each other.

Please feel free to incorporate the code in your library as you wish.