try
{
fileur = new URL(url);
filecon = fileur.openStream();
filedata = new DataInputStream(filecon);
while ((fileline = filedata.readLine()) != null)
fileur = new URL(url);
filecon = fileur.openStream();
filedata = new DataInputStream(filecon);
while ((fileline = filedata.readLine()) != null)
{
byte b[]=fileline.getBytes("ISO8859_1");//希望对你有用
System.out.println(new String(b,"GB2312")); //希望对你有用
}
}
byte b[]=fileline.getBytes("ISO8859_1");//希望对你有用
System.out.println(new String(b,"GB2312")); //希望对你有用
}
}