master
Aaron Suen 2021-09-10 08:25:30 -04:00
parent 13b2802cb9
commit 55dde646fb
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ ser["string"] = function(x)
x = string_format("%q", x)
x = string_gsub(x, "\n", "n")
x = string_gsub(x, "%c", function(c)
return "\\00" .. string_format("%02x", string_byte(c))
return "\\u00" .. string_format("%02x", string_byte(c))
end)
return x
end