Hi,

I'm working on a lua sandbox encoder & decoder to dump or load a raw string.
So I'm using string.format("%q", "<my string to escape>") to escape any
special chars in the encoding process.
And now I want to do is the opposite in the decoder, I mean unescape the
string.
So I tried to use the "loadstring" function but it seems heka's lua sandbox
don't know this function.

Do you know if the "loadstring" lua function is supported? Any other idea
to unescape a string without using the "loadstring" function?
Thanks.
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to