
On Saturday, June 05, 2004 11:31 PM
Boris Ratner
What i did to work-around the issue of perl pushing non-utf mail to unicode based postgresql is something more global - i wrote a simple script in (plz don't kill me ) python which runs before postmaster.pl. This script receives e-mail in *any* encoding and recodes it to utf-8. particulary "to" "from" "subject" converted from "?=some_encoding?E20=E34=...." to "?=utf-8?...." ofcourse the body of the message converted too (that's the easy part). It works great on plain-text with no attachments. I still need to figure out what to do with multipart mail (html) and encoded message body.
The above is one of the jobs OTRS performs - no need to invent the wheel twice. Better we search the error and correct it. What is the setting of $Self->{DefaultLanguage} in your Config.pm? Regards, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388