Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-200 Here is an overview of the issue: --------------------------------------------------------------------- Key: WW-200 Summary: Velocity Results are not prepared for i18n encoding Type: Bug Status: Assigned Priority: Major Project: WebWork Components: Dispatch Versions: 2.0 Assignee: Patrick Lightbody Reporter: Fernando Martins Created: Thu, 29 May 2003 11:41 AM Updated: Thu, 29 May 2003 11:41 AM Description: In line 74 of VelocityResult there is: response.setContentType("text/html"); this doesn't account for different charsets that should be in content-type if encoding being used is other than ISO-8859-1. in org.apache.velocity.Template there is method getEncoding() which I think should be used here to set the charset of content-type i.e.: response.setContentType("text/html; charset="+t.getEncoding()); This way, it will set content-type with the encoding velocity is configured with (in velocity.properties encoding can be specified. How to get velocity to read those properties is another story. In my case I tried velocity-1.4-dev from CVS and it reads the properties file). --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.opensymphony.com/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork