stegpy icon indicating copy to clipboard operation
stegpy copied to clipboard

'utf-8' codec can't decode byte 0x9d in position 0: invalid start byte

Open PeterEmad777 opened this issue 3 years ago • 0 comments

I'm trying to use the library as part of a backend project so i got the code files not the command line tool, the encoding goes just fine. but whenever I try to decode I get this error.. this is the line that causes the problem, in the read_message function

text = bytes(msg[start:end]).decode('utf-8')

PeterEmad777 avatar Jul 03 '21 18:07 PeterEmad777