Convert hex to ASCII by Hendrik

while""do s=io.read(2,1)io.write(s>"1F"and s<"7F"and("").char(tonumber(s,16))or s=="0A"and[[\n
]]or"\\x"..s:lower())end

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page