diff options
Diffstat (limited to 'bs4')
-rw-r--r-- | bs4/dammit.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/bs4/dammit.py b/bs4/dammit.py index de016ca..50664e7 100644 --- a/bs4/dammit.py +++ b/bs4/dammit.py @@ -48,15 +48,6 @@ else: def chardet_dammit(s): return None -# Available from http://cjkpython.i18n.org/. -# -# TODO: This doesn't work anymore and the closest thing, iconv_codecs, -# is GPL-licensed. Check whether this is still necessary. -try: - import iconv_codec -except ImportError: - pass - # Build bytestring and Unicode versions of regular expressions for finding # a declared encoding inside an XML or HTML document. xml_encoding = '^\\s*<\\?.*encoding=[\'"](.*?)[\'"].*\\?>' |