[
http://jira.jboss.com/jira/browse/JBSEAM-1177?page=all ]
Pete Muir resolved JBSEAM-1177.
-------------------------------
Fix Version/s: 1.3.0.BETA1
Resolution: Out of Date
Richard, I think you said in a forum post that this was working for you. If it is can you
close the bug, otherwise reopen. Thanks
ISO-8859-1 characters in subject field are not properly rendered
----------------------------------------------------------------
Key: JBSEAM-1177
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1177
Project: JBoss Seam
Issue Type: Bug
Components: Mail
Affects Versions: 1.2.1.GA
Reporter: Richard Leherpeur
Assigned To: Pete Muir
Fix For: 1.3.0.BETA1
The MailComponent.encode() method doesn't return the right string and convert non
UTF8 characters into their code.
For instance <m:subject>Café</m:subject> is rendered as
"Café"
To reproduce it, use the mail example, replace examples\mail\view\simple.xhtml file by
<?xml version="1.0" encoding="ISO-8859-1" ?>
<m:message
xmlns="http://www.w3.org/1999/xhtml"
xmlns:m="http://jboss.com/products/seam/mail"
xmlns:h="http://java.sun.com/jsf/html"
charset="ISO-8859-1">
<m:from name="Peter" address="peter(a)example.com" />
<m:to name="#{person.firstname}
#{person.lastname}">#{person.address}</m:to>
<m:subject>Try out Seam with a cup of Café!</m:subject>
<m:body>
<p><h:outputText value="Dear #{person.firstname}"
/>,</p>
<p>You can try out Seam by visiting <a
href="http://labs.jboss.com/jbossseam">http://labs.jboss.com...
<p>Regards</p>
<p>Peter</p>
</m:body>
</m:message>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira