##// 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 / testing
plugin
tests
__init__.py Loading ...
__main__.py Loading ...
decorators.py Loading ...
globalipapp.py Loading ...
iptest.py Loading ...
iptestcontroller.py Loading ...
ipunittest.py Loading ...
skipdoctest.py Loading ...
tools.py Loading ...