Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/org/adblockplus/sbrowser/contentblocker/engine/Downloader.java

Issue 29376835: Issue 4769 - Supporting adding whitelisted websites on ABP for Samsung Internet (Closed)
Patch Set: Adjusting Russian string Created March 15, 2017, 4:56 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/org/adblockplus/sbrowser/contentblocker/engine/Downloader.java
===================================================================
--- a/src/org/adblockplus/sbrowser/contentblocker/engine/Downloader.java
+++ b/src/org/adblockplus/sbrowser/contentblocker/engine/Downloader.java
@@ -97,17 +97,17 @@ final class Downloader
break;
}
final String value = connection.getHeaderField(i);
job.responseHeaders.put(key.toLowerCase(), value);
}
final StringBuilder sb = new StringBuilder();
final BufferedReader r = new BufferedReader(new InputStreamReader(connection.getInputStream(),
- "UTF-8"));
+ Engine.CHARSET_UTF_8));
try
{
for (int ch = r.read(); ch != -1; ch = r.read())
{
sb.append((char) ch);
}
job.responseText = sb.toString();
}

Powered by Google App Engine
This is Rietveld