I am emailing via JBoss using my custom EJB.
Not using JBoss mail service that is.
I cannot properly send scandinavian characters (åäö).
How do I change the character set used by JBoss?
Thanks!
I added this in my ejb and now it works but is this the
way to go?
public void ejbCreate() {
Properties props = System.getProperties();
props.put("file.encoding","ISO8859_1");
System.setProperties(props);
}