Percent-encode text so it’s safe in URLs and query strings, or decode an encoded URL back to readable text.