read japanese word from resourse bundle
hi
i had a property file in that there is a japanes word i want to read that by resourcebundle key value
how can i do that
public class Testencoding {
public static void main(String[] args) throws UnsupportedEncodingException, IOException {
Locale currentLocale = Locale.JAPANESE;
ResourceBundle myResources =
ResourceBundle.getBundle( "xxxx",currentLocale );
JButton okButton = new JButton( myResources.getString( "OkButtonLabel" ));
JLabel hoursLabel = new JLabel( myResources.getString( "hours" ));
System.out.println( okButton.getText() ); // e.g. Eh?
System.out.println( hoursLabel.getText() ); // e.g. HH
but its shows some symbols its not as the value stored in the eclipse character encoding property page
工*
please help me