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 56E17AAD.6080605@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
>
> 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/

pgsql-bugs by date:

Previous
From: Nick Cleaton
Date:
Subject: Re: streaming replication master can fail to shut down
Next
From: Léonard Benedetti
Date:
Subject: Re: BUG #13440: unaccent does not remove all diacritics