From 7c91bc4d366e6d0e4e04234441015f009d46d06a Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Fri, 17 May 2013 13:40:48 +0200 Subject: add serialization spec --- mkcharacters | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mkcharacters b/mkcharacters index 0ec871e..9b2f0c1 100755 --- a/mkcharacters +++ b/mkcharacters @@ -104,7 +104,11 @@ end do local chardata = get_characters() local stripped = extract_fields(chardata) - local serialized = table.serialize(stripped) + local serialized = table.serialize(stripped, true, { + compact = true, + noquotes = true, + hexify = true, --- for consistency with char-def + }) if writedata(serialized) then goto done end -- cgit v1.2.3