Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0
-
None
Description
org.apache.roller.weblogger.util.MailUtil#sendMessage() method uses javax.mail.internet.MimeMessage#setSubject(String subject) method, in which the subject is encoded using the platform's default charset.
In Japanese environment, many old e-mail clients supports only ISO-2022-JP, and not Shift_JIS (default charset in Windows) or EUC-JP (default charset in UNIX). Recent e-mail clients supports other charset including UTF-8.
To improve i18n support in Roller, could you use MimeMessage#setSubject(String subject, String charset) with "UTF-8" charset? Making charset configuable using a new custom property is a plus.