lune/tests/net/url/decode.luau

4 lines
174 B
Lua

local net = require("@lune/net")
local decoded = net.urlDecode("%F0%9F%9A%80%20This%20string%20will%20be%20decoded.")
assert(decoded == "🚀 This string will be decoded.")