开发者

UTF8 encoding problem

开发者 https://www.devze.com 2023-02-17 16:31 出处:网络
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 javaPost some code on

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

精彩评论

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