Answer the question
In order to leave comments, you need to log in
What should I do with encodings in python 3?
I have been struggling with encodings for a long time, I tried many options. I do not know what to do.
Run gj;fkeqcnf on Linux if you can, probably troubles on Windows.
Version 3.5
Files in utf-8 encoding
pastebin.com/m0DrZyzw - server
pastebin.com/tKMRKb94 - client
The error itself.
TypeError: a bytes-like object is required, not 'str'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question