"""
__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2010-2012 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2010-2013 PhiloSoft Design"
__license__ = "GNU GPL"
__all__ = ['parse_html']
break
except IndexError:
meta_charset = False
+ elif m.get('charset', ''):
+ meta_charset = m.get('charset').lower()
+ break
else:
meta_charset = False