Configure resources loading encoding.

This commit is contained in:
Paulo Gustavo Veiga 2022-04-11 14:36:28 -03:00
parent 735bb640b6
commit b8b63509d0
2 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@
</bean>
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
<property name="defaultEncoding" value="UTF-8"/>
<property name="basenames">
<list>
<value>messages</value>

View File

@ -60,6 +60,7 @@
</bean>
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
<property name="defaultEncoding" value="UTF-8"/>
<property name="basenames">
<list>
<value>messages</value>