Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static String GBK2ISO(String str) {
String ret = null;
try {
ret = new String(str.getBytes("GBK"), "ISO-8859-1");
} catch (Exception e) {
ret = "GBK2ISO error. str=" + str;
}
return (ret);
}
}