PL-9783 Set characterEncoding UTF-8 for Portal Thymeleaf templates by default

This commit is contained in:
Yuriy Artamonov 2017-09-28 22:58:46 +04:00
parent b7fcfd51ab
commit 48639ca162

View File

@ -53,6 +53,7 @@
<property name="order" value="2" />
<property name="suffix" value=".html"/>
<property name="templateMode" value="HTML"/>
<property name="characterEncoding" value="UTF-8"/>
</bean>
<bean id="thymeleafTemplateEngine"
@ -67,5 +68,6 @@
<bean id="thymeleafViewResolver" class="org.thymeleaf.spring4.view.ThymeleafViewResolver">
<property name="templateEngine" ref="thymeleafTemplateEngine" />
<property name="characterEncoding" value="UTF-8"/>
</bean>
</beans>