Fix mail subject encoding

https://community.oracle.com/thread/1589504?start=0&tstart=0