minor "patch"

This commit is contained in:
Miroslav Stampar 2011-07-11 20:33:16 +00:00
parent 1f826684f6
commit a46b5230f5
2 changed files with 5 additions and 0 deletions

View File

@ -523,6 +523,9 @@ Thierry Zoller <thierry@zoller.lu>
-insane- <insane_@gmx.de> -insane- <insane_@gmx.de>
for reporting a minor bug for reporting a minor bug
1ndr4 joe <c0d3w4st3r@gmail.com>
for reporting a minor bug
abc abc <biedimc@gmx.net> abc abc <biedimc@gmx.net>
for reporting a minor bug for reporting a minor bug

View File

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