lib/generators/app_generator/templates/web.xml in vraptor-scaffold-0.0.1.beta4 vs lib/generators/app_generator/templates/web.xml in vraptor-scaffold-0.0.1.beta5
- old
+ new
@@ -9,10 +9,15 @@
<context-param>
<param-name>br.com.caelum.vraptor.provider</param-name>
<param-value>br.com.caelum.vraptor.util.jpa.JPACustomProvider</param-value>
</context-param>
+ <context-param>
+ <param-name>br.com.caelum.vraptor.encoding</param-name>
+ <param-value>UTF-8</param-value>
+ </context-param>
+
<filter>
<filter-name>sitemesh</filter-name>
<filter-class>com.opensymphony.sitemesh.webapp.SiteMeshFilter</filter-class>
</filter>
@@ -38,10 +43,10 @@
<param-name>TemplatePath</param-name>
<param-value>/</param-value>
</init-param>
<init-param>
<param-name>default_encoding</param-name>
- <param-value>ISO-8859-1</param-value>
+ <param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>auto_import</param-name>
<param-value>macros/html.ftl as html</param-value>
</init-param>