From e1aadd1bdb319fb62a006400862d13d669907f6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 5 Aug 2013 01:19:10 +0200 Subject: [PATCH] Set specific encoding for subject. --- src/main/java/net/pterodactylus/rhynodge/actions/EmailAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/rhynodge/actions/EmailAction.java b/src/main/java/net/pterodactylus/rhynodge/actions/EmailAction.java index 6e866c8..79068f4 100644 --- a/src/main/java/net/pterodactylus/rhynodge/actions/EmailAction.java +++ b/src/main/java/net/pterodactylus/rhynodge/actions/EmailAction.java @@ -81,7 +81,7 @@ public class EmailAction implements Action { /* create message. */ message.setFrom(new InternetAddress(sender)); message.setRecipient(RecipientType.TO, new InternetAddress(recipient)); - message.setSubject(output.summary()); + message.setSubject(output.summary(), "UTF-8"); /* create text and html parts. */ MimeMultipart multipart = new MimeMultipart(); -- 2.7.4