git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@186
fdd5c36f-1aea-0310-aeeb-
c58d7e2b6c23
except (ValueError, LookupError):
charset = None # ...try charset from HTML
- for p in parsers:
- charsets = [universal_charset, DEFAULT_CHARSET]
+ charsets = [universal_charset, DEFAULT_CHARSET]
+ if charset:
+ charset = charset.lower()
if charset not in charsets:
charsets.insert(0, charset)
+
+ for p in parsers:
parser = None
for c in charsets:
try: