[exim] pgsql client encoding issue

2011-04-07 Thread Mark Adams
Hi All, exim 4.72-6, Debian squeeze. I'm having a client encoding issue whilst trying to log headers in to postgres using pgsql if the subject contains the pound sign (£) I fixed other encoding issues I had by adding :rfc2047: in as follows ${quote_pgsql:rfc2047:$h_subject:} However this

Re: [exim] pgsql client encoding issue

2011-04-07 Thread W B Hacker
Mark Adams wrote: Hi All, exim 4.72-6, Debian squeeze. I'm having a client encoding issue whilst trying to log headers in to postgres using pgsql if the subject contains the pound sign (£) I fixed other encoding issues I had by adding :rfc2047: in as follows

Re: [exim] pgsql client encoding issue

2011-04-07 Thread Phil Pennock
On 2011-04-07 at 12:48 +0100, Mark Adams wrote: I fixed other encoding issues I had by adding :rfc2047: in as follows ${quote_pgsql:rfc2047:$h_subject:} Assuming you mean ${rfc2047:...} then that encodes data. I'd expect you to normally want to decode data. As written though, that does not