Java Utililty Methods ISO8859 Encode String

List of utility methods to do ISO8859 Encode String

Description

The list of methods to do ISO8859 Encode String are organized into topic(s).

Method

Stringiso8859(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;
...
Stringiso88591ToUtf8(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);