]> granicus.if.org Git - postgresql/commit
Extend the default rules file for contrib/unaccent with Vietnamese letters.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 16 Aug 2017 20:51:56 +0000 (16:51 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 16 Aug 2017 20:51:56 +0000 (16:51 -0400)
commitec0a69e49bf41a37b5c2d6f6be66d8abae00ee05
tree6da8c1a2d4d06d9c2e4af7d9a217101f4189a6ce
parent2b74303637edc09cf692fbfab3fd93a5e47ccabf
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
contrib/unaccent/generate_unaccent_rules.py
contrib/unaccent/unaccent.rules