ReloadableResourceBundleMessageSourceでutf-8指定 - native2acii撲滅委員会 2011/05/22



Javaです。Springです。xxx.propertiesをnative2asciiするのが面倒なので
下記のようにするとutf-8で記述できました。
<bean class="org.springframework.context.support.ReloadableResourceBundleMessageSource" id="messageSource"
p:basenames="WEB-INF/messages" p:fallbackToSystemLocale="false" p:fileEncodings="UTF-8"
p:defaultEncoding="UTF-8" />

: