开发者

UTF8 encoding problem

I am working with a html file.. I used html cleaner to clean the ht开发者_如何学Pythonml file then the format is changed (All 'e's replaced by +®)... how can i correct that in java


Post some code on what you are doing. Here is an answer I got to a similar question

FileInputStream fis = new FileInputStream("filename");
BufferedReader reader = new BufferedReader(new InputStreamReader(fis, "UTF-16"));
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜