Quote:
Originally Posted by beowulf573
Yep, I'm using the unicode version of CreateProcess. Passing Unicode titles work, it's the file names that are an issue. I ran dumpbin against web2lrf.exe and it's only importing the ASCII version of CreateFile (CreateFileA) so it's incapable of creating files with Unicode file names.
Apparently this is a long standing issue with python that I don't think is fully resolved yet. From what I've read googling about it's sticky problem depending upon what version of python you're using and how you instantiate the file object. However, I'm far from a python expert and am most likely wrong.
If you want I can create a set of testcases and sample code and create a ticket on your site.
|
Do that, I'll look into it. calibre already has an extension module to make interfacing with windows a little less bug prone. Worst case, I could just add a wrapper around CreateFileW and replace open with that.