List of utility methods to do ISO8859 Encode String
String | iso8859(String Unicodestr) iso if (Unicodestr == null) { return null; String str = null; try { str = new String(Unicodestr.getBytes("KSC5601"), "8859_1"); } catch (java.io.UnsupportedEncodingException e) { str = Unicodestr; ... |
String | iso88591ToUtf8(String str) iso To Utf if (str == null) { return str; try { return new String(str.getBytes("ISO-8859-1"), "UTF-8"); } catch (UnsupportedEncodingException e) { throw new RuntimeException(e.getMessage(), e); |