aaren / notedown

Markdown <=> IPython Notebook
BSD 2-Clause "Simplified" License
855 stars 115 forks source link

Unicode support #17

Closed stsievert closed 9 years ago

stsievert commented 9 years ago

Issue #16 says unicode support doesn't exist, which is true. Turns out that the encoding of open and stdout has to be changed, using the io library (thank you Buck!).

This commit fixes that by changing open to io.open(..., encoding='utf-8') and the like.

aaren commented 9 years ago

I've merged your first commit. Thanks for doing this :)

aaren commented 9 years ago

This is now available on pypi as notedown 1.4.1

stsievert commented 9 years ago

Perfect! I'll be shortly be releasing rst-to-ipynb on PyPI which depends on notedown.