In the older version of Java EE we could set encode for javax.mail.message like this:
message.setSubject("my subjects", "utf-8")
But now we are using java sdk 1.8 (java ee 7). There is only one method:
message.setSubject("my subjects");
We can not specify which encode here. How can i configure the encoding for java ee 7?
Aucun commentaire:
Enregistrer un commentaire