unixfreak0037 / officeparser

Extract embedded files and macros from office documents.
http://empieria.com/blog/?page_id=10
MIT License
178 stars 60 forks source link

For Support Unicode Module Name #21

Open sacru2red opened 4 years ago

sacru2red commented 4 years ago

I have what named unicode String module name. so, it didnt work..

i'm not good at using python. but i found solution at 1900 Lines

if code_stream == None : tempUnicodeName = ''.join([x for x in MODULESTREAMNAME_StreamNameUnicode[0:len(MODULESTREAMNAME_StreamNameUnicode)] if ord(x) != 0]) code_stream = ofdoc.find_stream_by_name(tempUnicodeName) if code_stream == None: print 'code_stream is None' continue