List of utility methods to do String to Unicode
String | convertStringToUnicodeString(String s) Converts a regular java string to its unicode string representation StringBuffer convert = new StringBuffer(); for (int i = 0; i < s.length(); i++) { char ch = s.charAt(i); if ((byte) ch >= 0 && (int) ch <= 255) convert.append(ch); else { if ((int) ch > 255 || (int) ch < 0) throw new Exception("Invalid Character: " + ch); ... |