摘要: 将本地的gbk文件流读取变换成utf-8文件publicstaticvoidgbk2utf8(StringtargetFile,StringoutFile){BufferedReaderbr=null;BufferedWriterbw=null;try{InputStreamis=newFileInputStream(targetFile);OutputStreamos=newFileOutputStream(outFile);br=newBufferedReader(newInputStreamReader(is,"gbk"));Stringstr="" 阅读全文
posted @ 2012-10-29 11:36 系咪噶 阅读(834) 评论(0) 推荐(0) 编辑