Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ae0vs-0003aQ-Im for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Mar 2016 13:47:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ae0vr-0005WN-Is for pgsql-bugs@arkaria.postgresql.org; Thu, 10 Mar 2016 13:47:15 +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 1ae0v5-0004ow-Lr for pgsql-bugs@postgresql.org; Thu, 10 Mar 2016 13:46:27 +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 1ae0v2-0005zV-Bd for pgsql-bugs@postgresql.org; Thu, 10 Mar 2016 13:46:26 +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 D04EBB1918A; Thu, 10 Mar 2016 16:46:21 +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> From: Teodor Sigaev Message-ID: <56E17AAD.6080605@sigaev.ru> Date: Thu, 10 Mar 2016 16:46:21 +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: <56C4E11D.5050809@mlpo.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 > > On the other hand, UTF-8 encoding for source code is *a feature of > Python 3* (to quote the documentation: “The default encoding for Python > source code is UTF-8”) so there is no possible ambiguity, and it will > not be a problem. That said, some non-ASCII characters may be removed > without prejudice from the source code of the script (I think in > particular to "“" and "”"). Nevertheless, for some comments, it would be > unfortunate (e.g. “# RegEx to parse rules (e.g. “Đ → D ; […]”)” or “# ℃ > °C”). Ok, I didn't know that. > Thus, I propose to adapt the code to Python 3 (the encoding of the > script does not seem to be a problem for the above reasons). I try to do > it shortly. We are waiting... -- 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