[Jifty-commit] r1757 - in jifty/trunk: lib/Jifty

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Aug 4 14:28:29 EDT 2006


Author: zev
Date: Fri Aug  4 14:28:29 2006
New Revision: 1757

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Notification.pm

Log:
 r12338 at truegrounds:  zev | 2006-08-04 14:28:16 -0400
 * add UTF-8 charset to message body on notifications


Modified: jifty/trunk/lib/Jifty/Notification.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Notification.pm	(original)
+++ jifty/trunk/lib/Jifty/Notification.pm	Fri Aug  4 14:28:29 2006
@@ -263,7 +263,13 @@
 
 sub parts {
   my $self = shift;
-  return [$self->full_body];
+  return [
+    Email::MIME->create(
+      attributes => { charset => 'UTF-8' },
+      body       => $self->full_body
+    )
+  ];
+
 }
 
 =head2 magic_letme_token_for PATH


More information about the Jifty-commit mailing list