dogfish(dogfish):你好,能不能给我一份。[email protected],多谢了!

解决方案 »

  1.   

    public static String big5ToChinese(String s){
      try{
         if(s==null||s.equals("")) return "";
         String newstring=null;
         newstring=new String(s.getBytes("big5"),"gb2312");
         return newstring;
        }
      catch(UnsupportedEncodingException e)
      {
      return s;
      }
      }public static String ChineseToBig5(String s){
      try{
      if(s==null||s.equals("")) return "";
      String newstring=null;
      newstring=new String(s.getBytes("gb2312"),"big5");
       return newstring;
      }
      catch(UnsupportedEncodingException e)
      {
      return s;
     }
      }
      

  2.   

    To  caoxueqin(曹雪芹):I am sorry that I can not mail to you because I got a returned mail from etangmail----------------------------------------------------------------This is the etangmail program at host mx3.etang.com.I'm sorry to have to inform you that the message returned
    below could not be delivered to one or more destinations.For further assistance, please contact <[email protected]>If you do so, please include this problem report. You can delete your own text from the message returned below. The etangmail program您好:
    抱歉的通知您,您的邮件无法投递到目的地址,
    附件中有您的原始邮件,请检查是否有邮件地址错误
    具体的错误原因请查看下面的信息,或附上下面的信息与我们的管理员联系:[email protected]谢谢!