trust encoding declared as windows codepages (fix #491)

This commit is contained in:
Athou
2013-08-16 13:41:49 +02:00
parent ef0a03cb3b
commit e0e212dfc4

View File

@@ -69,6 +69,8 @@ public class FeedUtils {
if (StringUtils.endsWith(extracted, "1") == false) {
return extracted;
}
} else if (StringUtils.startsWithIgnoreCase(extracted, "windows-")) {
return extracted;
}
return detectEncoding(bytes);
}