diff --git a/pom.xml b/pom.xml
index cfdeefc..5bab660 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
org.example
Widerhall
- 1.0.4
+ 1.0.5
diff --git a/src/main/java/de/srsoftware/widerhall/mail/SmtpClient.java b/src/main/java/de/srsoftware/widerhall/mail/SmtpClient.java
index 5215bc8..9324175 100644
--- a/src/main/java/de/srsoftware/widerhall/mail/SmtpClient.java
+++ b/src/main/java/de/srsoftware/widerhall/mail/SmtpClient.java
@@ -52,10 +52,10 @@ public class SmtpClient {
}
if (newSender != null){
forward.setFrom(newSender);
- forward.setSubject(subject+" (from "+oldSender+")");
+ forward.setSubject(subject+" (from "+oldSender+")","utf-8");
} else {
forward.setFrom(oldSender);
- forward.setSubject(subject);
+ forward.setSubject(subject,"utf-8");
}
if (replyTo != null) forward.setReplyTo(InternetAddress.parse(replyTo));
var recipientType = bcc ? Message.RecipientType.BCC : Message.RecipientType.TO;
diff --git a/static/templates/footer.st b/static/templates/footer.st
index 7dc53ac..fe4a2f8 100644
--- a/static/templates/footer.st
+++ b/static/templates/footer.st
@@ -1,5 +1,5 @@