We are using RT version 3.8.8, perl 5.8.8, and have the following problem:
When I send an email to RT with scandinavian characters (���) in the
subject, the characters are wrongly decoded in the subject of the
message sent out from RT. The scandinavian characters in the message
itself are OK.
When this message is replied to, the answer is recorded in RT but no
outgoing message is sent out. The following errors are recorded in the
log file:
Dec 22 11:40:27 bigarade RT: Scrip Prepare 5 died. - Cannot decode
string with wide characters at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm line 173.
Stack:
[/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm:173]
[/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm:213]
[/opt/rt3/bin/…/lib/RT/Action/SendEmail.pm:961]
[/opt/rt3/bin/…/lib/RT/Action/SendEmail.pm:571]
[/opt/rt3/bin/…/lib/RT/Action/SendEmail.pm:167]
[/opt/rt3/bin/…/lib/RT/Action/Notify.pm:69]
[/opt/rt3/bin/…/lib/RT/ScripAction_Overlay.pm:230]
[/opt/rt3/bin/…/lib/RT/Scrip_Overlay.pm:448]
[/opt/rt3/bin/…/lib/RT/Scrips_Overlay.pm:240]
[/opt/rt3/bin/…/lib/RT/Transaction_Overlay.pm:169]
[/opt/rt3/bin/…/lib/RT/Record.pm:1457]
[/opt/rt3/bin/…/lib/RT/Ticket_Overlay.pm:2188]
[/opt/rt3/bin/…/lib/RT/Ticket_Overlay.pm:2100]
[/opt/rt3/bin/…/lib/RT/Interface/Email.pm:1500]
[/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:61]
(/opt/rt3/bin/…/lib/RT/Scrip_Overlay.pm:451)
followed by similar messages for Scrip Prepare 7 and 6.
I suspect that it has something to do with Perl double-encoding
utf8-characters, but I have not found any solution. Any help would be
appreciated.
Best Regards,
M�rten Hedman
M�rten Hedman phone: +358-(0)2-333 8037
Systems Manager fax: +358-(0)2-333 8000
Turku Centre for Biotechnology Marten.Hedman@btk.fi
Turku, Finland http://www.btk.fi
It would be really helpful to get email message as MIME text as it was
generated by your email client.On Wed, Dec 22, 2010 at 1:39 PM, Mårten Hedman marten.hedman@btk.fi wrote:
Hello,
We are using RT version 3.8.8, perl 5.8.8, and have the following problem:
When I send an email to RT with scandinavian characters (åäö) in the
subject, the characters are wrongly decoded in the subject of the message
sent out from RT. The scandinavian characters in the message itself are OK.
When this message is replied to, the answer is recorded in RT but no
outgoing message is sent out. The following errors are recorded in the log
file:
Dec 22 11:40:27 bigarade RT: Scrip Prepare 5 died. - Cannot decode
string with wide characters at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm line 173.
Stack:
[/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm:173]
[/usr/lib/perl5/5.8.8/i386-linux-thread-multi/Encode.pm:213]
[/opt/rt3/bin/…/lib/RT/Action/SendEmail.pm:961]
[/opt/rt3/bin/…/lib/RT/Action/SendEmail.pm:571]
[/opt/rt3/bin/…/lib/RT/Action/SendEmail.pm:167]
[/opt/rt3/bin/…/lib/RT/Action/Notify.pm:69]
[/opt/rt3/bin/…/lib/RT/ScripAction_Overlay.pm:230]
[/opt/rt3/bin/…/lib/RT/Scrip_Overlay.pm:448]
[/opt/rt3/bin/…/lib/RT/Scrips_Overlay.pm:240]
[/opt/rt3/bin/…/lib/RT/Transaction_Overlay.pm:169]
[/opt/rt3/bin/…/lib/RT/Record.pm:1457]
[/opt/rt3/bin/…/lib/RT/Ticket_Overlay.pm:2188]
[/opt/rt3/bin/…/lib/RT/Ticket_Overlay.pm:2100]
[/opt/rt3/bin/…/lib/RT/Interface/Email.pm:1500]
[/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:61]
(/opt/rt3/bin/…/lib/RT/Scrip_Overlay.pm:451)
followed by similar messages for Scrip Prepare 7 and 6.
I suspect that it has something to do with Perl double-encoding
utf8-characters, but I have not found any solution. Any help would be
appreciated.
Best Regards,
Mårten Hedman
Mårten Hedman phone: +358-(0)2-333 8037
Systems Manager fax: +358-(0)2-333 8000
Turku Centre for Biotechnology Marten.Hedman@btk.fi
Turku, Finland http://www.btk.fi