Hello ,everyone.
 
I'm confused by a problem.I wanna convert the Big5 character into GB2312 character.But I can't see the expected characters throught the IE explorer.
The original characters is  Big5.I programme to convert it into GB2312,But unexpected occurs.
Following is the source code:
****************java code******************
 while((str_big=readfile.readLine())!=null){
        b_str_big=str_big.getBytes("iso-8859-1");
        str_gb=new String(b_str_big,"gb2312");
        writefile.write(str_gb);
        writefile.newLine();
      }
      readfile.close();
      writefile.close();
****************java code******************
Any helps are appreciated.THX in advanced.

Reply via email to