给你一个转换类public class CharsetProcess {  public CharsetProcess() {
  }
  public static void main(String[] args) {
    CharsetProcess charsetProcess1 = new CharsetProcess();
  }    public static String U2C(String s)
    {
      String str = s;
     try
        {
          if ( str == null ) return str;
          byte[] u = str.getBytes("iso-8859-1");
          return new String(u,"GB2312");
        }
        catch(java.io.UnsupportedEncodingException e)
        {
          e.printStackTrace();
          return str;
     }    }}