Mantis - Resin
Viewing Issue Advanced Details
1708 minor always 04-25-07 18:39 05-22-07 14:35
ccwf  
ferg  
normal  
closed 3.0.23  
fixed  
none    
none 3.1.2  
0001708: initial character encoding of JSP documents (.jspx) should be UTF-8
Per JSP.4.2 "Response Character Encoding" of the JSP 2.1 spec, the initial character encoding of documents in XML syntax should be UTF-8.

Instead, Resin by default sets no character encoding for documents in XML syntax when compiling, adds the character encoding in the character-encoding attribute of the web-app configuration element, and defaults that to ISO-8859-1 if not specified.

Notes
(0001864)
ccwf   
04-25-07 19:12   
Actually, the character-encoding resin-web.xml attribute/element only affects forms. So, Resin is simply defaulting documents in XML syntax to ISO-8859-1 instead of UTF-8.
(0001941)
ferg   
05-22-07 14:35   
jsp/184y