Quote:
Originally Posted by kovidgoyal
How are you launching web2lrf on windows? Using a windows API call?
|
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.