Command errors caused by different encodings?

rcon comand:con MG playermessage MG Поэзия
error loginfo:
File “C:\Users\Administrator\AppData\Roaming\Python\Python27\site-packages\mcrcon.py”, line 101, in _send
struct.pack(“<ii”, 0, out_type) + out_data.encode(“utf8”) + b"\x00\x00"
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd0 in position 24: ordinal not in range(128)

Please help to see what the reason is. If the final message text is replaced with English, there will be no problem. I tried to convert the message to UTF-8, but it didn’t make any sense.

1 Like

This is on my private server, using rcon to connect to the server

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.