I am trying to turn this text:
×וויר. העתיד של רשתות חברתיות והתקשורת ×©×œ× ×•
Into this text:
Based on Oded's and Teddy's answers, I came up with this method, which worked for me:
public String getProperHebrew(String gibberish){
byte[] orig = gibberish.getBytes(Charset.forName("windows-1252"));
try {
return new String(orig, "UTF-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
return "";
}
}