avian2 / unidecode

ASCII transliterations of Unicode text - GitHub mirror
https://pypi.python.org/pypi/Unidecode
GNU General Public License v2.0
516 stars 62 forks source link

Question: why grave accent replaced with back slash? #84

Open stereobooster opened 1 year ago

stereobooster commented 1 year ago

First of all thank you for this project.

I wonder is there specific reason why this

unidecode('Dr. Kargˋs')

converted to Dr. Karg\s and not to Dr. Karg's?

stereobooster commented 1 year ago

Found answer myself. It's because it is U+02CB (MODIFIER LETTER GRAVE ACCENT) and not U+0060 (GRAVE ACCENT). Not sure if this a bug or intentional behavior