A simple tool to test websites and the like. It can also be used to get data from a server. IDK, could prevent someone from getting a virus or something.
text("O", WIDTH/2, HEIGHT/2+100)
fontSize(92)
fill(255, 255, 255, 255)
text("Web Testing", WIDTH/2, 100)
if (connecting) then
text("...", 50, 50)
end
rotate(45)
popMatrix()
end
function s(data, status, headers)
print(Site .. ": Success! Status " .. status)
if (ReturnData) then
print("HTML: " .. data)
end
if (ReturnHeaders) then
print("Headers:")
for i,v in ipairs(headers) do
print(i .. ": " .. v)
end
end
globeColor = color(0, 255, 0, 255)
connecting = false
end
function f(error)
print("Error: " .. error)
globeColor = color(255, 0, 0, 255)
connecting = false
end
function testSite()
connecting = true
http.request(Site, s, f)
end
function go()
openURL(Site, true)
end
Maybe that should be posted as a bug on the bug thread. It probably has something to do with the backend. “?” [U+FFBE] is the highest visible unicode char supported. U+10000 and beyond do not display and are treated as EOF. A few emoji are in that range, but most of the older ones should work fine.