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

Unicode encoding errors on write #10

Open
vitorio opened this issue Dec 28, 2017 · 0 comments
Open

Unicode encoding errors on write #10

vitorio opened this issue Dec 28, 2017 · 0 comments

Comments

@vitorio
Copy link

vitorio commented Dec 28, 2017

Different from the previous two unicode issues, tested with 0.0.8 in pip and also downloading master from here:

$ ./storified.py vitorio
Traceback (most recent call last):
  File "./storified.py", line 163, in <module>
    storified(args.account_name, args.download_dir)
  File "./storified.py", line 25, in storified
    archive_story(story, archive_dir)
  File "./storified.py", line 48, in archive_story
    rewrite_html(story, story_dir)
  File "./storified.py", line 128, in rewrite_html
    open(html_file, 'w').write(soup.prettify())
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2026' in position 48744: ordinal not in range(128)
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