Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.1.0.M1
-
None
-
None
-
xubuntu 9.04
jdk1.5.0.7
maven 2.0.9
SpringRoo 1.1.0-M1
Description
There is an existing filter to force the charset enconding to UTF-8 in web.xml (./src/main/webapp/WEB-INF/web.xml) file created for a web application with ROO.
<filter> <filter-name>CharacterEncodingFilter</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> <init-param> <param-name>forceEncoding</param-name> <param-value>true</param-value> </init-param> </filter>
It could be better that the encoding of this filter shouldn't override existing request encodings in the application for default:
- forceEncoding = false.
And then, the user could define the encoding for each jspx, html, etc in each case or set true the variable in case is needed.
Thanks.
Attachments
Issue Links
- is related to
-
ROO-1038 Umlauts are corrupted because they get html escaped. Bundle files are ISO coded.
-
- Resolved
-