m-m-m / util

Mature Modular Meta-Framework
http://m-m-m.sourceforge.net
Apache License 2.0
10 stars 5 forks source link

mmm-util-core: use UTF-8 for resource bundles #68

Closed hohwille closed 11 years ago

hohwille commented 11 years ago

Java unfortunately decided to go for ISO-8859 encoding for resource bundles. This sucks for true I18N/NLS. Besides already GWT went the right way to use UTF-8 for resource bundles to combine both worlds consistently we need to load with UTF-8 even without GWT in pure java. This however requires java.1.7+. As java1.7 is already quite common and spread, we will drop support for <1.7 with 4.0.0 release. Otherwise people will need to override NlsTemplateImpl with the old implementation. But then also l10n projects will need to be converted back from UTF-8. The future is with us!