asweigart / asweigart/stackoverflow_checker

UnicodeEncodeError resolution to print .encode('utf-8')

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

need to modify them to : else you get UnicodeEncodeError: during the prints

print('Adding "%s"...' % title.encode('utf-8')[:60])

print('Already in database: %s' % title.encode('utf-8')[:60])

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.