This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- http://base91.sourceforge.net/ | |
-- Based roughly on the reference implementation, though this is entirely written from scratch | |
-- Licensed under WTFPL (http://www.wtfpl.net/txt/copying/) | |
local ASSERTIONS_ENABLED = false -- Whether to run several checks when the module is first loaded | |
local MAKE_JSON_SAFE = false -- If this is true, " will be replaced by ' in the encoding | |
local CHAR_SET = [[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!#$%&()*+,./:;<=>?@[]^_`{|}~"]] | |
local encode_CharSet = {} |