URL encoding

Encode or decode a URI component; invalid percent sequences are rejected.