xbgmsharp / trakt

Import CSV to Trakt.tv list and Export Trakt.tv list into CSV
GNU General Public License v3.0
281 stars 47 forks source link

UnicodeEncodeError crashing export for special characters #30

Closed Kiina closed 4 years ago

Kiina commented 4 years ago

UnicodeEncodeError: 'ascii' codec can't encode character '\u2605' in position 53: ordinal not in range(128)

So my movie export is always crashing and I found the culprit:

https://trakt.tv/movies/black-rock-shooter-2010

For tv shows it crashes too with the error:

UnicodeEncodeError: 'ascii' codec can't encode character '\xd7' in position 69: ordinal not in range(128)

Where the culprit seems to be:

https://trakt.tv/shows/terrace-house-boys-x-girls-next-door

I'm running python 3.6.9 on Ubuntu 18.04

Kiina commented 4 years ago

Ah nvm, #28 fixes this, but the corresponding issue got closed before the fix got merged....