jakarta-taglibs-dev mailing list archives

DO NOT REPLY [Bug 23858] New: - message type should allow types other than "text" or "html", to support GBK encoding

Date

Thu, 16 Oct 2003 09:05:09 GMT

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23858>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23858
message type should allow types other than "text" or "html", to support GBK encoding
Summary: message type should allow types other than "text" or
"html", to support GBK encoding
Product: Taglibs
Version: 1.1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Mailer Taglib
AssignedTo: taglibs-dev@jakarta.apache.org
ReportedBy: sun2bin@163.com
I can't use mailer taglib to send mails with GBK encoding. This forced me to
send pure English mail to my customers who could only read Chinese mails.
I found the source code fragment:
* $Header: /home/cvs/jakarta-
taglibs/mailer/src/org/apache/taglibs/mailer/MailTag.java,v 1.9 2002/10/31
05:01:27 glenn Exp $
line 738~743:
public final void setType(String value) {
if (value.equalsIgnoreCase("html"))
type = "text/html";
else
type = "text/plain";
}
this restricted the message type only two options: "text/html", "text/plain"
But I do need "text/html;charset=GBK"!
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org