.BANCHO. .FIX. Fokabot np command fixes, changed packets encoding

This commit is contained in:
Nyo
2016-05-19 23:31:48 +02:00
parent 035c934d99
commit 4b4e4c202b
2 changed files with 11 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ def packData(__data, __dataType):
# Non empty string
data += b"\x0B"
data += uleb128Encode(len(__data))
data += str.encode(__data, "utf-8")
data += str.encode(__data, "latin_1")
elif __dataType == dataTypes.uInt16:
packType = "<H"
elif __dataType == dataTypes.sInt16: