UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 32: ordinal not in range(128)
Issue #82
resolved
when selecting sbs the list parsing generates an output for a while but hits i am guessing a show or episode name which causes this python error.
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 32: ordinal not in range(128)
Comments (5)
-
repo owner -
repo owner -
assigned issue to
-
assigned issue to
-
repo owner - changed status to open
-
Hey. Sorry when I originally submitted I was in a bit of a rush. Operating System - Windows 10 running Debian stretch under linux subsystem for windows. Ive taken a look as per your request at
#62and yes the output of:<code> python -c 'import sys; print(sys.stdout.encoding)' </code> wasn't UTF-8 so as you suggested I set the LANG environment variable and it was confirmed
<code> LANG=en_AU.utf-8 ; EXPORT LANG </code>
then it worked and solved the issue. Thanks
-
repo owner - changed status to resolved
Glad to hear it!
- Log in to comment
Hi, sorry but I can't reproduce this. Can you have a look at my comments on
#62to see if they're applicable to you?If not please reply with:
locale
Thanks.