You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "SATO Naoki (JIRA)" <ji...@apache.org> on 2008/07/24 07:48:58 UTC
[jira] Created: (ROL-1738) Charset of E-Mail Subject Needs to be
configurable
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.