Am Freitag, 9. Januar 2004 15:51 schrieb Tom Lane:
> 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?
That would resolve quite a few problems, but I don't think there's a way to
know what encoding a given LC_CTYPE value will result in.