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 56E2F496.3020904@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
> Here is the patch, attached.

Hmm, now script doesn't work with Python 2:
% python2 -V
Python 2.7.11
% python2 contrib/unaccent/generate_unaccent_rules.py
   File "contrib/unaccent/generate_unaccent_rules.py", line 7
SyntaxError: Non-ASCII character '\xe2' in file
contrib/unaccent/generate_unaccent_rules.py on line 7, but no encoding declared;
see http://python.org/dev/peps/pep-0263/ for details

Is it intentional?

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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re[2]: [BUGS] Re: [BUGS] Segfault in MemoryContextAlloc
Next
From: manlio.perillo@gmail.com
Date:
Subject: BUG #14016: Incomplete documentation of IN subquery expression