##// END OF EJS Templates
Fix for converting notebooks that contain unicode characters.
Thomas Robitaille -
Show More
@@ -103,6 +103,6 b' class FilesWriter(WriterBase):'
103
103
104 # Write conversion results.
104 # Write conversion results.
105 self.log.info("Writing %i bytes to %s", len(output), dest)
105 self.log.info("Writing %i bytes to %s", len(output), dest)
106 with io.open(dest, 'w') as f:
106 with io.open(dest, 'wb') as f:
107 f.write(output)
107 f.write(output.encode('utf-8'))
108 return dest No newline at end of file
108 return dest
General Comments 0
You need to be logged in to leave comments. Login now