java - What is an alternative to escaped unicode localized property files in spring mvc? -


if want localized property file have character in native language such 嗨 instead of escaped unicode \u55e8 (obtained using native2ascii),

currently reading property file using resourcebundle.getbundle passing in locale. if don't save propertyfiles in escaped unicode, shows in browser garbage.

is there way make work without escaped unicode?

instead of using resourcebundle, used messagesource. read value of string using messagesource.getmessage(string var1, object[] var2, locale var3)

if that, don't need modify property files escaped unicode.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -