##// END OF EJS Templates
Let nbformat take care of opening the file...
Let nbformat take care of opening the file Notebook files should always be read as utf-8, but the default for io.open() is to use a platform-dependent default encoding. The easiest way around this is to pass the filename to nbformat.read() and let it open the file correctly. Bug identified at: http://stackoverflow.com/questions/43915006/encoding- error-in-jupyter-when-run-another-notebook
Thomas Kluyver -
r23649:f7d480e5
Show More
Name Size Modified Last Commit Author
/ IPython / extensions
tests
__init__.py Loading ...
autoreload.py Loading ...
cythonmagic.py Loading ...
rmagic.py Loading ...
storemagic.py Loading ...
sympyprinting.py Loading ...