jclement / SublimePandoc

Sublime Text 2 Plugin for the Pandoc Markdown Renderer
34 stars 12 forks source link

Fix non ascii character bug #8

Closed tema-popov closed 11 years ago

tema-popov commented 11 years ago

If file contains non-ascii characters then PandocRender fails with exception: Writing file ... with encoding UTF-8 Traceback (most recent call last): File "./sublimeplugin.py", line 356, in run File "./PandocRender.py", line 42, in run UnicodeEncodeError: 'ascii' codec can't encode characters in position 29-33: ordinal not in range(128)