This commit is contained in:
Kovid Goyal 2012-03-26 14:11:37 +05:30
parent 23f9bdc7c9
commit 3235ca7356

View File

@ -61,8 +61,7 @@ def parse_indx_header(data):
# Instead I use a half assed decoder that decodes only the ascii # Instead I use a half assed decoder that decodes only the ascii
# valid values correctly. Hopefully these ORDT sections will only # valid values correctly. Hopefully these ORDT sections will only
# ever be used in SKEL and ELEM indices where the text is pure # ever be used in SKEL and ELEM indices where the text is pure
# ASCII. EBCDIC-UTF and ASCII have the same. Any non ASCII valid # ASCII. Any non ASCII valid values are mapped to the ? character.
# values are mapped to the ? character
parsed = bytearray(ans['oentries']) parsed = bytearray(ans['oentries'])
for i in xrange(0, 2*ans['oentries'], 2): for i in xrange(0, 2*ans['oentries'], 2):