public static String getText(InputStream is) { StringBuffer strBuff = new StringBuffer(); int ch = 0; try { while ((ch = is.read()) != -1) { strBuff.append((char) ((ch >= 0xc0 && ch <= 0xFF) ? (ch + 0x350) : ch)); } } catch (Exception e) {e.printStackTrace();} return strBuff.toString(); }