Hi,
I have been sent Russian translations to my default English pages. Wicket
picks up the _ru.properties bundles correctly but somewhere along the way,
the encoding is not changing from UTF-8. I gather that the Russian
translated pages will need an encoding of cp1251.
I have tried to force
Hi Tim,
.properteis files are ALWAYS in ISO59something encoding (see the Javadoc to
java.lang.Properties. If you want to use a different encoding, you'll have
to either recode your properties files, use xml properties or somehow load
the .properties files yourself.
Thomas
On Mon, Feb 16, 2009
If you think about re-implementing ResourceBundle to support UTF-8
properties files
have a look at spring's ReloadableResourceBundleMessageSource.
After more than 10 years using .properties and I did not twig that it may
be the .properties encoding limitation.
After an hour and a touch of RSA all .properties are now xml and it's
working great. Thanks for the tip.
And thanks Maarten for the pointer to Spring resource bundles.
Tim
Hi