| Index: src/org/adblockplus/sbrowser/contentblocker/engine/Subscription.java |
| =================================================================== |
| --- a/src/org/adblockplus/sbrowser/contentblocker/engine/Subscription.java |
| +++ b/src/org/adblockplus/sbrowser/contentblocker/engine/Subscription.java |
| @@ -384,17 +384,17 @@ final class Subscription |
| private static String createFilterHash(List<String> filters) throws IOException |
| { |
| try |
| { |
| final MessageDigest md5 = MessageDigest.getInstance("MD5"); |
| Collections.sort(filters); |
| for (final String filter : filters) |
| { |
| - md5.update(filter.getBytes("UTF-8")); |
| + md5.update(filter.getBytes(Engine.CHARSET_UTF_8)); |
| } |
| return byteArrayToHexString(md5.digest()); |
| } |
| catch (final NoSuchAlgorithmException e) |
| { |
| throw new IOException("MD5 is unavailable: " + e.getMessage(), e); |
| } |
| } |