labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r747435 - /labs/magma/branches/0.0.1/email-commons/src/main/java/org/apache/magma/email/CommonsEmail.java
Date Tue, 24 Feb 2009 17:04:21 GMT
Author: simoneg
Date: Tue Feb 24 17:04:18 2009
New Revision: 747435

URL: http://svn.apache.org/viewvc?rev=747435&view=rev
Log:
LABS-298 : UTF-8 on commons email, ported back to 0.0.1

Modified:
    labs/magma/branches/0.0.1/email-commons/src/main/java/org/apache/magma/email/CommonsEmail.java

Modified: labs/magma/branches/0.0.1/email-commons/src/main/java/org/apache/magma/email/CommonsEmail.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.1/email-commons/src/main/java/org/apache/magma/email/CommonsEmail.java?rev=747435&r1=747434&r2=747435&view=diff
==============================================================================
--- labs/magma/branches/0.0.1/email-commons/src/main/java/org/apache/magma/email/CommonsEmail.java
(original)
+++ labs/magma/branches/0.0.1/email-commons/src/main/java/org/apache/magma/email/CommonsEmail.java
Tue Feb 24 17:04:18 2009
@@ -14,7 +14,12 @@
 
 public class CommonsEmail extends Email {
 
-	HtmlEmail mail = new HtmlEmail();
+	HtmlEmail mail = null;
+
+	{
+		mail = new HtmlEmail();
+		mail.setCharset("UTF-8");
+	}
 
 	
 	@Override



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message