Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import java.io.IOException;
import java.net.URI;
import java.nio.charset.StandardCharsets;

import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
Expand Down Expand Up @@ -135,7 +136,7 @@ private String obtainRss(String url) throws ClientProtocolException, IOException
throw new RuntimeException("Problem reading the rss url: " + response.getStatusLine().getReasonPhrase());
}
HttpEntity entity = response.getEntity();
String result = EntityUtils.toString(entity);
String result = EntityUtils.toString(entity, StandardCharsets.UTF_8);
EntityUtils.consume(entity);
request.completed();
return result;
Expand Down
Loading