Hello Thomas,

From: Thomas Mueller <[EMAIL PROTECTED]>
Subject: [Dbmail-dev] Re: patch for postgresql to work in UNICODE encoding.
Date: Sat, 17 Sep 2005 13:10:01 +0200
Message-ID: <[EMAIL PROTECTED]>

> Better use 'createdb -E LATIN1' to create a LATIN1 db even if the 
> default is UNICODE.
> If you want a UNICODE database I wrote a patch for dbmail at least a 
> year ago where dbmail calls 'SET client_encoding LATIN1' on every db 
> connect. That way PostgreSQL does the conversion.

Thank you for your advice. I have tried the following operation:

 env PGCLIENTENCODING=LATIN1 dbmail-lmtpd

Then, mails that used to be rejected could now be inserted to my db
without errors. I would like to keep the configuration and see if 
it continues to work without errors.

--
Ryo HAYAKAWA
[EMAIL PROTECTED]

Reply via email to