mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
23f9bdc7c9
commit
3235ca7356
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user