chickadee » uri-common » uri-encode-string

uri-encode-string STRING #!optional CHAR-SETprocedure

Returns the percent-encoded form of the given string. The optional char-set argument controls which characters should be encoded. It defaults to the complement of char-set:uri-unreserved. This is always safe, but often overly careful; it is allowed to leave certain characters unquoted depending on the context.