Index: src/org/adblockplus/sbrowser/contentblocker/engine/Subscriptions.java |
=================================================================== |
--- a/src/org/adblockplus/sbrowser/contentblocker/engine/Subscriptions.java |
+++ b/src/org/adblockplus/sbrowser/contentblocker/engine/Subscriptions.java |
@@ -174,17 +174,17 @@ final class Subscriptions |
s.clearFilters(); |
s.deserializeFilters(this.getFiltersFile(s)); |
s.getFilters(filters); |
s.clearFilters(); |
} |
} |
final BufferedWriter w = new BufferedWriter( |
- new OutputStreamWriter(new FileOutputStream(output), "UTF-8")); |
+ new OutputStreamWriter(new FileOutputStream(output), Engine.CHARSET_UTF_8)); |
try |
{ |
Log.d(TAG, "Writing " + filters.size() + " filters"); |
Engine.writeFilterHeaders(w); |
for (final String filter : filters) |
{ |
w.write(filter); |
w.write('\n'); |