Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Remember that gettext will automatically recode the strings depending
> on what it thinks is the display character set, determined via
> LC_CTYPE (of course, a useless concept for server software).
Hmm. So the problem would appear if LC_CTYPE is different from the
database encoding? Could we fix it by forcing LC_CTYPE to the database
encoding during startup?
regards, tom lane