In article <[EMAIL PROTECTED]>, Vesa-Matti Sarenius wrote: >In article <[EMAIL PROTECTED]>, Tim Golden wrote: >>so it's just possible that one of your filenames has >>a non-ascii char in it without your noticing? (Altho' >>I'd find that an odd character to include in a filename). > >There is somewhere since printing worked when I changed the filename >completely.
I found the problem place, it is: cmd = '''"C:\\Program Files\\Ghostgum\\gsview\\gsprint.exe" -color ''' + full_filename and with that the full_filename has something utf. I tried repr or .encode ("utf8") there but got "file not found" althougt the script itself worked. -- Vesa-Matti Sarenius, M.Sc. * * * * * * * * * * * * * * * * * mailto:[EMAIL PROTECTED] * Music seems to help the pain * Lecturer, mathematics education * R.I.P. Syd, my hero * University of Oulu, Finland * * * * * * * * * * * * * * * * * -- http://mail.python.org/mailman/listinfo/python-list