Hello,

Here's the source of a test message. The subject is "this is a test" in Finnish.

Regards,

Mårten Hedman


MIME-Version: 1.0
In-Reply-To: <[email protected]>
X-Mailer: Perl5 Mail::Internet v2.04
References: <[email protected]> <[email protected]>
Content-Type: text/plain; charset="utf-8"
Reply-To: [email protected]
Message-ID: <[email protected]>
X-RT-Original-Encoding: utf-8
RT-Originator: [email protected]
Managed-BY: RT 3.8.8 (http://www.bestpractical.com/rt/)
Subject: =?UTF-8?B?W2J0ay5maSAjNDMzXSBU77+9be+/vSBvbiB0ZXN0aQ==?=
Sender: Apache <[email protected]>
Date: Wed, 22 Dec 2010 10:25:45 +0200
RT-Ticket: btk.fi #433
Precedence: bulk
X-RT-Loop-Prevention: btk.fi
Content-Transfer-Encoding: 8bit
BCC:
From: "=?UTF-8?B?TcOlcnRlbiBIZWRtYW4=?= via RT" <[email protected]>


Wed Dec 22 10:25:45 2010: Request 433 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: it-services
     Subject: Tämä on testi
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: http://rt.btk.fi/Ticket/Display.html?id=433 >

On 23.12.10 17:40, Ruslan Zakirov wrote:
Hello,

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<[email protected]>  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     [email protected]
Turku, Finland                     http://www.btk.fi







--
------------------------------------------------------------------------
Mårten Hedman                      phone: +358-(0)2-333 8037
Systems Manager                    fax:   +358-(0)2-333 8000
Turku Centre for Biotechnology     [email protected]
Turku, Finland                     http://www.btk.fi

Reply via email to