In JRE 1.6. PropertyResourceBundle class
http://download.oracle.com/javase/6/docs/api/java/util/PropertyResourceBundle.html
has constructor with Reader argument, so you can use any encoding.
But Click uses http://download.oracle.com/javase/6/docs/api/java/util/ResourceBundle.html
who is still utf8-less.
On Tue, Nov 2, 2010 at 16:26, Andrew Fink <aprpda@gmail.com> wrote:
> I have asked this question some time ago.
>
> And there is no simple answer ;-(
>
> Click uses standard ResourceBundle, but RB doesn't support utf-8 (in 2010)!!!
>
> I can see only three solutions here:
>
> - use "hack"
> - use self made resourceBundle mechanism (may be grab it from groovy?)
> - vote for this bug http://bugs.sun.com/view_bug.do?bug_id=6204853
>
--
Best regards,
Andrew P.Fink
e-mail/gtalk/jabber: aprpda@gmail.com
mob.: +7(915)405-4296
Fax: +7(347)293-09-13
|