Translations:Extension:Scribunto/Lua reference manual/2117/en

Percent-encodes the string. The default type,, encodes spaces using '+' for use in query strings;   encodes spaces as %20; and   encodes spaces as '_'.