lune/tests/net/url/encode.luau

3 lines
140 B
Lua
Raw Normal View History

local encoded = net.urlEncode("🚀 This string will be encoded.")
assert(encoded == "%F0%9F%9A%80%20This%20string%20will%20be%20encoded.")