Changeset 3554

Show
Ignore:
Timestamp:
01/18/11 21:28:56 (14 years ago)
Author:
jerome
Message:

Fixed a character encoding problem.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r3549 r3554  
    532532        setenv("PYKOTAPRINTERNAME", self.PrinterName, self.charset) 
    533533        setenv("PYKOTADIRECTORY", self.Directory, self.charset) 
    534         setenv("PYKOTADATAFILE", self.DataFile, self.charset) 
     534        setenv("PYKOTADATAFILE", self.DataFile.decode(sys.getfilesystemencoding()), self.charset) 
    535535        setenv("PYKOTAJOBSIZEBYTES", str(self.JobSizeBytes), self.charset) 
    536536        setenv("PYKOTAMD5SUM", self.JobMD5Sum, self.charset)