You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When it tries to print a song where the artist name is RÜFÜS / u'R\xdcF\xdcS' , it gives this error
Traceback (most recent call last):
File "/Users/derwent/.pyenv/versions/2.7.15/lib/python2.7/pdb.py", line 1314, in main
pdb._runscript(mainpyfile)
File "/Users/derwent/.pyenv/versions/2.7.15/lib/python2.7/pdb.py", line 1233, in _runscript
self.run(statement)
File "/Users/derwent/.pyenv/versions/2.7.15/lib/python2.7/bdb.py", line 400, in run
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "shazam-tags.py", line 3, in <module>
import os
UnicodeEncodeError: 'ascii' codec can't encode character u'\xdc' in position 1: ordinal not in range(128)
Uncaught exception. Entering post mortem debugging
I think sqlite is expecting all data to be encoded in utf-8, but since this string is encoded in latin-1 , it needs to be re-encoded
The text was updated successfully, but these errors were encountered:
d3v-null
pushed a commit
to d3v-null/shazam-tags
that referenced
this issue
Apr 19, 2020
When it tries to print a song where the artist name is
RÜFÜS
/u'R\xdcF\xdcS'
, it gives this errorI think sqlite is expecting all data to be encoded in
utf-8
, but since this string is encoded inlatin-1
, it needs to be re-encodedThe text was updated successfully, but these errors were encountered: