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"));
精彩评论