Allow multi-character source strings in contrib/unaccent.

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

Commit: 1b2488731cc2c87cc9a4cb8d654e4d9981fdf9ac
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2014-07-01T01:46:29Z
Releases: 9.5.0
Allow multi-character source strings in contrib/unaccent.

This could be useful in languages where diacritic signs are represented as
separate characters; more generally it supports using unaccent dictionaries
for substring substitutions beyond narrowly conceived "diacritic removal".
In any case, since the rule-file parser doesn't complain about
multi-character source strings, it behooves us to do something unsurprising
with them.

Files

PathChange+/−
contrib/unaccent/unaccent.c modified +59 −32
doc/src/sgml/unaccent.sgml modified +8 −0