D
D
djumeeb2020-10-10 07:33:45
Unicode
djumeeb, 2020-10-10 07:33:45

How to solve utf-8 encoding problem?

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

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
djumeeb, 2020-10-10
@djumeeb

filename = group.filename.open("utf-8")
image_format = b'jpg'
xmins = []
xmaxs = []
ymins = []
ymaxs = []
classes_text = []
classes = [}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question