Encode special characters in URLs (spaces, &, = etc.) into percent-encoded format, or decode them back to human-readable text.