Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aeQ6C-00079H-Qd for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Mar 2016 16:39:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aeQ6C-0003Tr-D5 for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Mar 2016 16:39:36 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aeQ5Y-00023y-FU for pgsql-bugs@postgresql.org; Fri, 11 Mar 2016 16:38:56 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aeQ5R-00065z-2S for pgsql-bugs@postgresql.org; Fri, 11 Mar 2016 16:38:55 +0000 Received: from xor.sai.msu.ru (newmail.postgrespro.ru [93.174.131.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: teodor) by hook.sigaev.ru (Postfix) with ESMTPSA id 93FDBB1918A; Fri, 11 Mar 2016 19:38:46 +0300 (MSK) Subject: Re: BUG #13440: unaccent does not remove all diacritics To: =?UTF-8?Q?L=c3=a9onard_Benedetti?= , PostgreSQL Bugs References: <20150614063707.2734.30270@wrigleys.postgresql.org> <12238.1434304758@sss.pgh.pa.us> <20150615045056.GM133018@postgresql.org> <38161.1434372933@sss.pgh.pa.us> <1790.1434492074@sss.pgh.pa.us> <4186.1434655846@sss.pgh.pa.us> <56A4426F.2040108@mlpo.fr> <56BCAA91.1040208@sigaev.ru> <56BCF7A5.6020204@mlpo.fr> <56BCF98B.3040302@mlpo.fr> <56BE0BE6.5050003@sigaev.ru> <56C4E11D.5050809@mlpo.fr> <56E17AAD.6080605@sigaev.ru> <56E18614.90003@mlpo.fr> <56E18841.2000406@mlpo.fr> From: Teodor Sigaev Message-ID: <56E2F496.3020904@sigaev.ru> Date: Fri, 11 Mar 2016 19:38:46 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <56E18841.2000406@mlpo.fr> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org > 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/ -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs