Re: BUG #15347: Unaccent for greek characters does not work

Thomas Munro <thomas.munro@enterprisedb.com>

From: Thomas Munro <thomas.munro@enterprisedb.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Tasos Maschalidis <TaS.O.S@hotmail.com>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2018-08-24T00:16:16Z
Lists: pgsql-bugs
On Fri, Aug 24, 2018 at 12:12 PM, Michael Paquier <michael@paquier.xyz> wrote:
> On Fri, Aug 24, 2018 at 10:16:14AM +1200, Thomas Munro wrote:
>> I wondered if the documentation might need a change, but it already
>> says something broad enough: "A more complete example, which is
>> directly useful for most European languages, can be found in
>> unaccent.rules, ...".
>
> Perhaps it would be better to avoid non-ASCII characters in this script?

You mean in the Python script?  Why?  At the top it has a PEP-263
encoding declaration:

# -*- coding: utf-8 -*-

-- 
Thomas Munro
http://www.enterprisedb.com


Commits

  1. Add Greek characters to unaccent.rules.