Closed HeuristicPerson closed 2 years ago
OK, my fault. The IDE (Pycharm) wasn't suggesting any parameter but I see at https://eyed3.readthedocs.io/en/latest/eyed3.id3.html?highlight=tag.save#eyed3.id3.tag.Tag.save that the encoding can be specified when saving the file which solves my issue:
BEFORE (not working):
o_audiofile.tag.save()
NOW (working):
o_audiofile.tag.save(encoding='utf-8')
Hi. I've created a script to edit id3 tags of downloaded podcast episodes and I'm having an encoding issue with one of them. My configuration is:
The minimal version of the code that fails is:
And I'm getting this error:
Below you can check the original title tag of the mp3 file and the new one I assign:
It looks like an encoding problem but I don't know how to fix it. I've tried passing the new title encoded in utf-8 and also changing eyed3 default encoding (eyed3._DEFAULT_ENCODING = 'utf-8') with no luck.