forked from Archives/Athou_commafeed
trust encoding declared as windows codepages (fix #491)
This commit is contained in:
@@ -69,6 +69,8 @@ public class FeedUtils {
|
|||||||
if (StringUtils.endsWith(extracted, "1") == false) {
|
if (StringUtils.endsWith(extracted, "1") == false) {
|
||||||
return extracted;
|
return extracted;
|
||||||
}
|
}
|
||||||
|
} else if (StringUtils.startsWithIgnoreCase(extracted, "windows-")) {
|
||||||
|
return extracted;
|
||||||
}
|
}
|
||||||
return detectEncoding(bytes);
|
return detectEncoding(bytes);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user