You're right, I see python25.dll importing all of those functions.
So, you're code did the trick. I wrote a simple python script that created a file and wrote a utf-8 string to it. If I passed a unicode string in as the filename, it failed in the same we I was seeing. However, if i used your code to obtain the argv array, it works like a champ.
I'll write a ticket up for Kovid with details.
|