[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1177) ISO-8859-1 characters in subject field are not properly rendered

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Aug 13 06:07:13 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1177?page=all ]

Pete Muir closed JBSEAM-1177.
-----------------------------


> 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.ALPHA
>
>
> 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&#233;" 
> 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 at 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/jbossseam</a>.</p>
>         <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

       




More information about the seam-issues mailing list