Re: BUG #15548: Unaccent does not remove combining diacritical characters

Ramanarayana <raam.soft@gmail.com>

From: Ramanarayana <raam.soft@gmail.com>
To: Hugh Ranalli <hugh@whtc.ca>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2019-02-17T07:15:39Z
Lists: pgsql-bugs, pgsql-hackers
Hi Hugh,

The patch I submitted was tested both in python 2 and 3 and it worked for
me.The single line of code
added in the patch runs only in python 3. I dont think it can break
python2. Would like to see the error you got in python 2   Good to know the
reported issue  is a valid one in windows.I tested your patch as well and
it is also working fine.
-- 
Cheers
Ram 4.0

Commits

  1. Fix unaccent generation script in Windows

  2. Add combining characters to unaccent.rules.

  3. Update unaccent rules with release 34 of CLDR for Latin-ASCII.xml

  4. unaccent: Make generate_unaccent_rules.py Python 3 compatible

  5. Convert unaccent tests to UTF-8