-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown text with accents produces invalid IPYNB file #896
Comments
Hi @drdarshan , thank you for reporting this! May I ask how you created the Markdown file (which editor)? My understanding of what happens here is that it uses another encoding than Anyway the example is interesting. I see that other editors like
I understand! Well if you want to avoid this, you should deactivate the autosave in Jupyter. Jupytext saves the notebook only when asked by Jupyter - either when you do an explicit save or when Jupyter autosaves. |
Hello @mwouts, thank you for the explanation and suggestion to turn off auto-save from Jupyter! I am using Emacs 26.3 on Windows. One thing I observed is that the Thank you again! |
Oh yes indeed that was specific to Jupytext within Jupyter. It should be fixed now in version 1.13.5. Thanks for reporting this! |
Jupytext newbie here, so apologies if this is a known issue.
I created a markdown file containing an accented character. When I attempted to open it in JupyterLab the notebook had garbled text, see:
I also looked at the IPYNB file and it seemed to have incorrect JSON:
Part of what makes this a bit inconvenient is that Jupytext auto-saved the notebook and overwrote my original markdown (which contained a whole bunch of other text) with the garbled cell. Is it possible to work around this issue or to detect a failure during conversion? Thanks in advance.
The text was updated successfully, but these errors were encountered: