##// END OF EJS Templates
Default ensure_ascii to False when writing notebook JSON...
Thomas Kluyver -
Show More
@@ -49,6 +49,7 b' class JSONWriter(NotebookWriter):'
49 kwargs['indent'] = 1
49 kwargs['indent'] = 1
50 kwargs['sort_keys'] = True
50 kwargs['sort_keys'] = True
51 kwargs['separators'] = (',',': ')
51 kwargs['separators'] = (',',': ')
52 kwargs.setdefault('ensure_ascii', False)
52 # don't modify in-memory dict
53 # don't modify in-memory dict
53 nb = copy.deepcopy(nb)
54 nb = copy.deepcopy(nb)
54 if kwargs.pop('split_lines', True):
55 if kwargs.pop('split_lines', True):
General Comments 0
You need to be logged in to leave comments. Login now