You've already forked PythonLib
mirror of
https://github.com/lifebottle/PythonLib.git
synced 2026-02-13 15:25:50 -08:00
Bandaid fix for TBL encoding
This commit is contained in:
@@ -540,7 +540,7 @@ class ToolsTales:
|
||||
output += b"\x01"
|
||||
else:
|
||||
for c in t:
|
||||
output += self.ijsonTblTags["TBL"].get(c, c.encode("cp932"))
|
||||
output += struct.pack(">H", self.ijsonTblTags["TBL"].get(c, int.from_bytes(c.encode("cp932"), "big")))
|
||||
|
||||
return output
|
||||
|
||||
|
||||
Reference in New Issue
Block a user