Charset of E-Mail Subject Needs to be configurable
--------------------------------------------------

                 Key: ROL-1738
                 URL: https://issues.apache.org/roller/browse/ROL-1738
             Project: Roller
          Issue Type: Bug
          Components: Configuration & Settings
    Affects Versions: 4.0
            Reporter: SATO Naoki
            Assignee: Roller Unassigned


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.

http://java.sun.com/javaee/5/docs/api/javax/mail/internet/MimeMessage.html#setSubject(java.lang.String)

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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to