View Single Post
Old 08-28-2008, 11:55 PM   #174
beowulf573
Addict
beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.
 
beowulf573's Avatar
 
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
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.
beowulf573 is offline   Reply With Quote