In this line:

On 8 February 2017 at 02:31, Paul Hobson <[email protected]> wrote:

> with open(nbfile, 'r') as nb:


Can you try adding a parameter to open(..., encoding='utf-8')

I think it's reading the notebook file wrong because of the default
encoding on Windows.

You could also use the filename directly:
nbdata = nbformat.read(nbfile, as_version=4)

Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAOvn4qgciwV-9CtWr7zakaqH3aLFjPNF9VP%2BuamX63bo48cprw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to