Quantcast
Channel: Java mon amour
Viewing all articles
Browse latest Browse all 1124

Umlaut in emails

$
0
0
If in an email you see f�r instead of für, chances are that your weblogic/JavaMail is not using the right encoding (presumably UTF-8)

You can try several options:

-Dfile.encoding=UTF-8
change the template to use escaped (HTML) charachers
see https://issues.apache.org/jira/browse/GERONIMO-5022 :
message.setSubject(subject,"UTF-8");
message.setText(text, "UTF-8");
properties.setProperty("mail.mime.charset","UTF8");





Viewing all articles
Browse latest Browse all 1124

Trending Articles