From 0c272bcf36853fb51d888a8510de044a80cb5d38 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 5 Aug 2015 08:58:24 -0500 Subject: [PATCH] Change dramione.org default encoding to utf8. --- fanficfare/adapters/adapter_dramioneorg.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fanficfare/adapters/adapter_dramioneorg.py b/fanficfare/adapters/adapter_dramioneorg.py index 52a896d..4018a99 100644 --- a/fanficfare/adapters/adapter_dramioneorg.py +++ b/fanficfare/adapters/adapter_dramioneorg.py @@ -38,8 +38,9 @@ class DramioneOrgAdapter(BaseSiteAdapter): def __init__(self, config, url): BaseSiteAdapter.__init__(self, config, url) - self.decode = ["Windows-1252", - "utf8"] # 1252 is a superset of iso-8859-1. + self.decode = ["utf8", + "Windows-1252",] + # 1252 is a superset of iso-8859-1. # Most sites that claim to be # iso-8859-1 (and some that claim to be # utf8) are really windows-1252.