danielfrg / pelican-jupyter

Pelican plugin for blogging with Jupyter/IPython Notebooks
Apache License 2.0
423 stars 105 forks source link

Fix: resolves UnicodeEncodeError from non ascii characters #42

Closed matthewgilbert closed 8 years ago

matthewgilbert commented 8 years ago

.format() is using 'ascii' encoding which results in errors of the form

ERROR: Could not process ./test2.ipynb
  | UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 112: ordinal not in range(128)