Συντάκτης: Jasen Betts Ημερομηνία: Προς: exim-users Αντικείμενο: Re: [exim] transport filter with know charset encoding
On 2013-08-26, Cyborg <cyborg2@???> wrote: > Hi,
>
> is there anychance, that a transportfilter gets knowlage about the
> messages charset before it is processed ?
What makes you think it will have a single character set?
> Background:
>
> java needs to know the charset in which data is delivered via stdin
> before it opens stdin.
no it doesn't, that's just the easy way.
> hmm.. pdf talks about $mime_charset and content-type... but thats seems
> not to be set for the entire message..
That's the crux of the problem.
> (Maybe someone know the problem and has dealt with it in java already)
You need to use a MIME library and point that at stdin.