[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-44-g7f9682e
? sunnavy
sunnavy at bestpractical.com
Thu May 13 23:45:27 EDT 2010
The branch, 3.8-trunk has been updated
via 7f9682e16bacc0168524180869d164dd979848c0 (commit)
from 92a1e0fa105b32eeb109b9e28cc87db8240a588a (commit)
Summary of changes:
lib/RT/Action/SendEmail.pm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 7f9682e16bacc0168524180869d164dd979848c0
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri May 14 11:43:48 2010 +0800
reverse 54bbed2a1, and comments to the possibly misleading code
diff --git a/lib/RT/Action/SendEmail.pm b/lib/RT/Action/SendEmail.pm
index 177cfde..5e8decf 100755
--- a/lib/RT/Action/SendEmail.pm
+++ b/lib/RT/Action/SendEmail.pm
@@ -207,8 +207,9 @@ sub Prepare {
my $type = $part->mime_type || 'text/plain';
$type = 'text/plain' unless RT::I18N::IsTextualContentType($type);
$part->head->mime_attr( "Content-Type" => $type );
- $part->head->mime_attr(
- "Content-Type.charset" => RT->Config->Get('EmailOutputEncoding') );
+ # utf8 here is for _FindOrGuessCharset in I18N.pm
+ # it's not the final charset/encoding sent
+ $part->head->mime_attr( "Content-Type.charset" => 'utf8' );
}
RT::I18N::SetMIMEEntityToEncoding( $MIMEObj,
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list