Praneel PIDIKITI
Praneel PIDIKITI

Reputation: 19517

UTF8 encoding problem

I am working with a html file.. I used html cleaner to clean the html file then the format is changed (All 'e's replaced by +®)... how can i correct that in java

Upvotes: 1

Views: 477

Answers (1)

ProfessionalAmateur
ProfessionalAmateur

Reputation: 4563

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"));

Upvotes: 1

Related Questions