dosage/dosagelib
Tobias Gruetzmacher 8768ff07b6 Fix AhoiPolloi, be a bit smarter about encoding.
HTML character encoding in the context of HTTP is quite tricky to get
right and honestly, I'm not sure if I did get it right this time. But I
think, the current behaviour matches best what web browsers try to do:

1. Let Requests figure out the content from the HTTP header. This
   overrides everything else. We need to "trick" LXML to accept our
   decision if the document contains an XML declaration which might
   disagree with the HTTP header.
2. If the HTTP headers don't specify any encoding, let LXML guess the
   encoding and be done with it.
2016-04-06 22:22:22 +02:00
..
plugins Fix AhoiPolloi, be a bit smarter about encoding. 2016-04-06 22:22:22 +02:00
__init__.py Fallback version if pkg_resources not available. 2016-03-03 01:05:36 +01:00
ansicolor.py Updated copyright. 2014-01-05 16:50:57 +01:00
colorama.py Catch WindowsError when initializing colorama. 2013-03-05 21:15:25 +01:00
comic.py Stripping should be done in normaliseUrl. 2014-06-08 10:12:33 +02:00
configuration.py Fallback version if pkg_resources not available. 2016-03-03 01:05:36 +01:00
decorators.py Updated copyright. 2014-01-05 16:50:57 +01:00
director.py adding no downsize option 2015-05-20 22:38:29 +12:00
events.py adding no downsize option 2015-05-20 22:38:29 +12:00
fileutil.py Updated documentation and fix some comics. 2012-11-20 18:53:53 +01:00
helpers.py Convert starters and other helpers to new interface. 2014-07-26 11:28:43 +02:00
languages.py Remove hard dependency on pycountry again. 2015-07-11 01:27:39 +02:00
loader.py Switch plugin loading to pkgutil. 2016-03-20 15:13:24 +01:00
output.py Fix a conflict with IPython. 2016-03-20 23:57:07 +01:00
rss.py Write encoded data in binary format. 2013-04-05 19:27:30 +02:00
scraper.py Fix AhoiPolloi, be a bit smarter about encoding. 2016-04-06 22:22:22 +02:00
singleton.py Use realpath to detect symlinked instances. 2014-01-05 11:16:57 +01:00
updater.py Use GitHub releases API for update checks. 2015-11-06 23:07:19 +01:00
util.py Fix AhoiPolloi, be a bit smarter about encoding. 2016-04-06 22:22:22 +02:00