Skip to content
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

pandoc is producing non-ascii characters #76

Open
videlec opened this issue Mar 5, 2018 · 0 comments
Open

pandoc is producing non-ascii characters #76

videlec opened this issue Mar 5, 2018 · 0 comments

Comments

@videlec
Copy link

videlec commented Mar 5, 2018

With pandoc installed the setup.py failed because pandoc seems to introduce non ascii characters. Repeating the commands from setup.py

>>> import subprocess
>>> pandoc = subprocess.Popen(['pandoc', 'README.md', '--to', 'rst'], stdout=subprocess.PIPE)
>>> readme = pandoc.communicate()[0]
>>> readme.decode()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 3325: ordinal not in range(128)
>>> readme[3310:3340]
's using Ipython\xe2\x80\x99s ``%%`` `ce'

computer: linux, archlinux
pandoc version 2.0.6
tested on python 2.7.14

See also downstream issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant