Как решить проблему с кодировкой utf-8?

Самая ошибка:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcd in position 117: invalid continuation byte

Код:

filename = group.filename.encode("utf-8")
   
 image_format = b'jpg' 
 xmlns = [] xmas = [] mins = []  ymax = [] classes_text = [] classes = []

Ответы (0 шт):