Re: BUG #13440: unaccent does not remove all diacritics

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Léonard Benedetti <benedetti(at)mlpo(dot)fr>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13440: unaccent does not remove all diacritics
Date: 2016-03-11 16:38:46
Message-ID: 56E2F496.3020904@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message manlio.perillo 2016-03-11 16:39:28 BUG #14016: Incomplete documentation of IN subquery expression
Previous Message Tom Lane 2016-03-11 15:51:08 Re: Re[2]: [BUGS] Re: [BUGS] Segfault in MemoryContextAlloc