avian2 / unidecode

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

convert UNICODE whitespace to the ordinary ASCII 32 space #32

Closed sam-s closed 5 years ago

sam-s commented 5 years ago

This fixes https://github.com/avian2/unidecode/issues/31

avian2 commented 5 years ago

Two problems with this pull request:

  1. The issue you're trying to fix doesn't actually exist. Your test passes without any modifications to the unidecode code.
  2. You're needlessly adding complexity by introducing regular expressions. If you want to change a transliteration for some character, change the tables in x...py files.