The environment variable PGCLIENTENCODING might be a more conveniant way to specify the encoding to use. E.g. on Windows: set PGCLIENTENCODING=LATIN1 or on Unix/Linux: export PGCLIENTENCODING=LATIN1 Regards, Steffen