Open chozelinek opened 8 years ago
I can reproduce this with your input and python 2. Should be able to fix.
I think I've fixed the read case: can you see if the latest master fixes your problem?
I was unable to reproduce the write case (putting accented characters in a markdown cell and saving). Can you tell me some more about your environment - python / jupyter versions, notedown version (latest master?) - and also give an explicit set of steps to reproduce the problem?
Hi @aaren The master fixes the read case. Regarding the write case, it fails in both markdown and code cells.
My environment:
Take an already existing notebook in markdown format and write in a code cell something like:
name = 'José'
And then try to save. It should yield an error.
Say that the cell is a markdown one:
# Sobre José
Soy José de España
And try to save.
In both cases you should get an error at saving.
Hi,
I've created a markdown document
jose.md
containing some accented characters like:When I tried to load it in Jupyter after activating markdown format by using this:
I get an encoding error:
However, I've I try to create a new notebook within Jupyter, and I add the same text in a markdown cell does not happing anything.
I get a similar error when trying to add accented characters in an already existing and running markdown notebook, if I try to save.
I think it is something that has to do with notedown. Since I can add UTF-8 characters in markdown cells in native jupyter notebooks. And run/load/save without any issue.
Any hints?