Extend the default rules file for contrib/unaccent with Vietnamese letters.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ec0a69e49bf41a37b5c2d6f6be66d8abae00ee05
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-08-16T20:51:56Z
Releases: 11.0
Extend the default rules file for contrib/unaccent with Vietnamese letters.

Improve generate_unaccent_rules.py to handle composed characters whose base
is another composed character rather than a plain letter.  The net effect
of this is to add a bunch of multi-accented Vietnamese characters to
unaccent.rules.

Original complaint from Kha Nguyen, diagnosis of the script's shortcoming
by Thomas Munro.

Dang Minh Huong and Michael Paquier

Discussion: https://postgr.es/m/CALo3sF6EC8cy1F2JUz=GRf5h4LMUJTaG3qpdoiLrNbWEXL-tRg@mail.gmail.com

Files

PathChange+/−
contrib/unaccent/generate_unaccent_rules.py modified +31 −8
contrib/unaccent/unaccent.rules modified +114 −0

Discussion