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

UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' #3

Closed
harryqt opened this issue Oct 11, 2019 · 1 comment
Closed

Comments

@harryqt
Copy link

harryqt commented Oct 11, 2019

Traceback (most recent call last):
  File "dl.py", line 234, in <module>
    downloader.downloadAll()
  File "dl.py", line 200, in downloadAll
    self.print_course_title(course_title)
  File "dl.py", line 84, in print_course_title
    print('\tCourse Title: ' + course_title)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 25: ordinal not in range(128)
@harryqt
Copy link
Author

harryqt commented Oct 11, 2019

Sorry, I was using Python 2.
Python 3 seems have no issue.

@harryqt harryqt closed this as completed Oct 11, 2019
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