Re: BUG #13440: unaccent does not remove all diacritics - Mailing list pgsql-bugs

From Teodor Sigaev
Subject Re: BUG #13440: unaccent does not remove all diacritics
Date
Msg-id 56E83FF3.5040904@sigaev.ru
Whole thread Raw
In response to Re: BUG #13440: unaccent does not remove all diacritics  (Léonard Benedetti <benedetti@mlpo.fr>)
Responses Re: BUG #13440: unaccent does not remove all diacritics
List pgsql-bugs
> So I think we can keep just a version for Python 2 for now. If everyone
> agrees, I'll update the files and patch.

Attached patch is a my try to make script works for both 2 & 3 versions of
Python. At least it produces the same result for 2.7 and 3.4. Pls, could you
check? I'm not a Python developer at all.

BTW, I revomed unicode characted from code and leaved it only in comments.

--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

Attachment

pgsql-bugs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: BUG #14020: row_number() over(partition by order by) - weird behavior
Next
From: Léonard Benedetti
Date:
Subject: Re: BUG #13440: unaccent does not remove all diacritics