Workaround for buggy rtf files that use ansicpg0

This commit is contained in:
Kovid Goyal 2007-12-28 00:09:40 +00:00
parent 12ae61a328
commit e031c39d2c

View File

@ -41,6 +41,8 @@ class GetCharMap:
self.__bug_handler = bug_handler
def get_char_map(self, map):
if map == 'ansicpg0':
map = 'ansicpg1250'
found_map = 0
map_dict = {}
self.__char_file.seek(0)