Matthew T. O'Connor schrieb:
> Well, to answer my own question, I hacked the source code of DBMail and
> had it set the client encoding to LATIN1 immediately after database
> connect, this seems to have fixed the problem.
>
You could also just have set the client_encoding as an user-option
in postgres so on login, the encoding is set to what you want
automatically. (See ALTER USER ...)
Regards
Tino