mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
handle iso-8859-2 (#138)
This commit is contained in:
@@ -23,7 +23,8 @@ public class FeedUtils {
|
|||||||
detector.reset();
|
detector.reset();
|
||||||
if (encoding == null) {
|
if (encoding == null) {
|
||||||
encoding = DEFAULT_ENCODING;
|
encoding = DEFAULT_ENCODING;
|
||||||
} else if (encoding.equalsIgnoreCase("ISO-8859-1")) {
|
} else if (encoding.equalsIgnoreCase("ISO-8859-1")
|
||||||
|
|| encoding.equalsIgnoreCase("ISO-8859-2")) {
|
||||||
encoding = "windows-1252";
|
encoding = "windows-1252";
|
||||||
}
|
}
|
||||||
return encoding;
|
return encoding;
|
||||||
|
|||||||
Reference in New Issue
Block a user