Has it ever been considered to (optionally) use the iconv interface for
character set conversion instead of rolling our own? It seems to be a lot
more flexible, has pluggable conversion modules (depending on the
implementation), supports more character sets. It seems to be available
on quite a few systems, too.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter