Deafult Charset set to UTF-8 - article_plain problem

Dear List, my system: Debian Sid. PostgreSQL 7.4 (UNICODE) Perl 5.8.4 OTRS 1.2.3 (DefaultCharset->utf-8) I noticed a problem that mainly consists of any message's MIME source *NOT* being properly recoded to UTF-8 before it is INSERTed into the article_plain table of OTRS. This problem makes the "plain" artice view unreadable. (encodings tested hebrew iso-8859-8 and cyrillic iso-8859-5, cyrillic koi-8-r) To work around this problem i've done the following change to OTRS code: Kernel::System::EmailParser->GetPlainEmail(); sub GetPlainEmail { my $Self = shift; return $Self->{EncodeObject}->Decode( Text => $Self->{Email}->as_string(), From => $Self->GetCharset() ); } I would like to receive comments on this issue. Kind Regards, Boris Ratner. ps. this is a repost from the [otrs] mailing list.
participants (1)
-
boris@goldenmyth.co.il