minor update

This commit is contained in:
Miroslav Stampar 2012-01-23 09:44:17 +00:00
parent 9e5cf70a5a
commit 2094c715db

View File

@ -139,6 +139,8 @@ def checkCharEncoding(encoding):
encoding = 'iso%s' % encoding[4:] encoding = 'iso%s' % encoding[4:]
elif encoding.find('ascii') > 0: elif encoding.find('ascii') > 0:
encoding = 'ascii' encoding = 'ascii'
elif encoding.find('utf8') > 0:
encoding = 'utf8'
# http://philip.html5.org/data/charsets-2.html # http://philip.html5.org/data/charsets-2.html
if encoding in translate: if encoding in translate: