ResourceBundle - French characters
807605Jun 15 2007 — edited Jun 15 2007I have a Swing application that I want to internationalize. I.E. I want to have an English resource bundle, and a French resource bundle.
I created the two resources files and I've placed them in the classpath, I then load the files like this ( for the French version ):
ResourceBundle.getBundle( "DisplayStrings", Locale.FRENCH, this.getClass().getClassLoader() );
And the resource load properly, but when I request a french string that containts French characters, the String doesn't bring over the french accent characters properly.
Is this an encoding problem? When viewed in a Text editor the French accents work fine, but when I run the application the French characters are coming across as funny garbage characters.
Does anyone have a suggestion?
Message was edited by:
bryano