转换编码方法

将InputStream对象转换成InputStreamReader对象hi使用GBK编码:

InputStream is = getNetInputStream(listUrl);

InputStreamReader isr = new InputStreamReader(is,"GBK"):

posted @ 2012-03-30 13:59  First_Wolf  阅读(131)  评论(0编辑  收藏  举报