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: 'charmap' codec can't encode character #1

Open
spiner62 opened this issue Sep 23, 2020 · 0 comments
Open

UnicodeEncodeError: 'charmap' codec can't encode character #1

spiner62 opened this issue Sep 23, 2020 · 0 comments

Comments

@spiner62
Copy link

Unable to check emails on Windows 10

C:\Users\spiner62\Downloads>pydispo 86210241
 Traceback (most recent call last):
  File "C:\Python35\lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\Python35\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python35\Scripts\pydispo.exe\__main__.py", line 9, in <module>
  File "C:\Python35\lib\site-packages\pydispo\pydispo.py", line 243, in main
    check_single_email(email_addr, particularID, bodyasHTML, getAttached, pydispo_emailhtml_cache)
  File "C:\Python35\lib\site-packages\pydispo\pydispo.py", line 152, in check_single_email
    print("--------------------\n",email_body )
  File "C:\Python35\lib\encodings\cp850.py", line 12, in encode
    return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u2019' in position 529: character maps to <undefined>
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