minor fix

This commit is contained in:
Miroslav Stampar 2011-12-15 09:28:58 +00:00
parent 4150fadb05
commit c98f5f6f94

View File

@ -119,7 +119,7 @@ def checkCharEncoding(encoding):
# http://philip.html5.org/data/charsets-2.html
if encoding in translate:
encoding = translate[encoding]
elif encoding in ('null', '{charset}'):
elif encoding in ('null', '{charset}', '*'):
return None
# http://www.iana.org/assignments/character-sets