Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. Locale alocale = new Locale ("ar_AE");
  2. ResourceBundle bundle1 = ResourceBundle.getBundle("properties.Resource", alocale);
  3.  
  4. String res= bundle.getString(key);
  5. res=new String(res.getBytes("ISO-8859-1"), "UTF-8");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement