An encoder that makes strings invisible, replaces ASCII characters with zero-width unicode characters.
local Invisible = require('EncoderLibrary')
local string = '动态网自由门 *** *** *** *** Free Tibet *****事件 The Tiananmen Square protests of 1989 ******'
local encoded_string = Invisible.encode(string)
local decoded_string = Invisible.decode(encoded_string)
print(string.format('Our string: "%s"', string))
print(string.format('Encoded string: "%s"', encoded_string))
print(string.format('Decoded string: "%s"', decoded_string))
--Output
--[[
Our string: "动态网自由门 *** *** *** *** Free Tibet *****事件 The Tiananmen Square protests of 1989 ******"
Encoded string: ""
Decoded string: "动态网自由门 *** *** *** *** Free Tibet *****事件 The Tiananmen Square protests of 1989 ******"
]]