View Single Post
Old 08-29-2008, 12:01 AM   #175
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
Sorry Kovid, I was writing my reply as you posted yours.

I think the problem is either the command line arguments are not being converted to python unicode strings from the get go, or, somewhere along the line the string variable containing the output filename is being converted to ascii or some other encoding.

The open method must be a true python unicode string not a utf-8 encoded string.
beowulf573 is offline   Reply With Quote