[Rt-commit] r13510 - rt/3.8/branches/non-ascii-subject/lib/RT/Action
ruz at bestpractical.com
ruz at bestpractical.com
Fri Jun 20 23:18:31 EDT 2008
Author: ruz
Date: Fri Jun 20 23:18:31 2008
New Revision: 13510
Modified:
rt/3.8/branches/non-ascii-subject/lib/RT/Action/SendEmail.pm
Log:
* data in template's MIME entity is not always perl string, so
we must decode it first before using
Modified: rt/3.8/branches/non-ascii-subject/lib/RT/Action/SendEmail.pm
==============================================================================
--- rt/3.8/branches/non-ascii-subject/lib/RT/Action/SendEmail.pm (original)
+++ rt/3.8/branches/non-ascii-subject/lib/RT/Action/SendEmail.pm Fri Jun 20 23:18:31 2008
@@ -941,7 +941,7 @@
my $head = $self->TemplateObj->MIMEObj->head;
$head->replace(
Subject => RT::Interface::Email::AddSubjectTag(
- $self->TemplateObj->MIMEObj->head->get('Subject'),
+ Encode::decode_utf8( $head->get('Subject') ),
$self->TicketObj,
),
);
More information about the Rt-commit
mailing list