beetbox / pyacoustid

Python bindings for Chromaprint acoustic fingerprinting and the Acoustid Web service
MIT License
332 stars 66 forks source link

Extended Ascii Character Error #29

Closed ChuckTSI closed 8 years ago

ChuckTSI commented 8 years ago

Linux: Errors thrown if filename contains extended ASCII python aidmatch.py "Björk - Tondeleyo.mp3"

Traceback (most recent call last): File "aidmatch.py", line 51, in aidmatch(sys.argv[1]) File "aidmatch.py", line 46, in aidmatch print('%s - %s' % (artist, title)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 2: ordinal not in range(128)

sampsyo commented 8 years ago

Thanks! A couple of notes you might find interesting: