[rt-users] RT BUG

Dmitry Monakhov monakhv at ot.ru
Wed Apr 7 03:55:49 EDT 2004

To solve the problem I had to insert the following call


RT::I18N::SetMIMEEntityToEncoding($self->{'entity'}, 'utf-8');

Function: _PostProcessNewEntity
File:  rt3/lib/RT/EmailParser.pm

Jesse, please be so kind as to put the modification above into RT core 

Dmitry Monakhov wrote:
> Hi, All!
> I've discovered new bug in RT mail parser system.
> When you send the mail with the  long subject line
> which mail client split on several line like the following
> Subject: =?KOI8-R?Q?=F4=D5=D4_=C4=CC=C9=CE=CE=D9=CA=2C_=CF=DE=C5=CE=D8?=
>  =?KOI8-R?Q?_=C4=CC=C9=CE=CE=D9=CA_=D3=C1=C2=D6=C5=CB=D4_=D0=CF_=D2?=
>  =?KOI8-R?Q?=D5=D3=D3=CB=C9=2E_=F3_=D4=CF=DE=CB=CF=CA_=D0=CF=D3=C5=D2?=
>  =?KOI8-R?Q?=C5=C4=C9=CE=C5=2E?=
> new tickets are created with parser error and without  auto reply
> corespondens sent.
> Apr  6 13:06:34 ganimed RT: error:    couldn't parse head; error near: 
> ?M-^C?M-^A?M-^Aки. С ?M-^Bо?M-^Gкой по?M-^Aе?M-^@ едине. 
> (/opt/rt3/lib/RT/Template_Overlay.pm:352)
> The single line subjects like this
> Subject: =?KOI8-R?Q?=F4=D5=D4_=C4=CC=C9=CE=CE=D9=CA=2C_=CF=DE=C5=CE=D8?=
> do not couse such errors.

Dmitry Monakhov System Administrator
Open Technologies, tel: +7(095)787-7027
e-mail: monakhv at ot.ru, http://www.ot.ru/

More information about the rt-users mailing list