minor minor update

This commit is contained in:
Miroslav Stampar 2011-07-10 15:41:45 +00:00
parent 0d6afca7db
commit 98958f8808
2 changed files with 8 additions and 0 deletions

View File

@ -143,6 +143,9 @@ Jose Fonseca <jose.r.fonseca@gmail.com>
Alan Franzoni <alan.franzoni@gmail.com> Alan Franzoni <alan.franzoni@gmail.com>
for helping me out with Python subprocess library for helping me out with Python subprocess library
Harold Fry <harold@violaceo.us>
for suggesting a minor enhancement
Daniel G. Gamonal <lgrecol@gmail.com> Daniel G. Gamonal <lgrecol@gmail.com>
for reporting a minor bug for reporting a minor bug
@ -532,6 +535,9 @@ buawig <buawig@gmail.com>
Bugtrace <bugtrace@gmail.com> Bugtrace <bugtrace@gmail.com>
for reporting several bugs for reporting several bugs
clav <elclav@gmail.com>
for reporting a minor bug
dragoun dash <dragoun.dash@gmail.com> dragoun dash <dragoun.dash@gmail.com>
for reporting a minor bug for reporting a minor bug

View File

@ -107,6 +107,8 @@ def checkCharEncoding(encoding):
# popular typos/errors # popular typos/errors
if '8858' in encoding: if '8858' in encoding:
encoding = encoding.replace('8858', '8859') # iso-8858 -> iso-8859 encoding = encoding.replace('8858', '8859') # iso-8858 -> iso-8859
elif '8559' in encoding:
encoding = encoding.replace('8559', '8859') # iso-8559 -> iso-8859
elif '5889' in encoding: elif '5889' in encoding:
encoding = encoding.replace('5889', '8859') # iso-5889 -> iso-8859 encoding = encoding.replace('5889', '8859') # iso-5889 -> iso-8859
elif '2313' in encoding: elif '2313' in encoding: