Function: mh-url-hexify-string

mh-url-hexify-string is a for url-hexify-string, defined in url-util.el.gz.

Signature

(mh-url-hexify-string STRING &optional ALLOWED-CHARS)

Documentation

URI-encode STRING and return the result.

If STRING is multibyte, it is first converted to a utf-8 byte string. Each byte corresponding to an allowed character is left as-is, while all other bytes are converted to a three-character string: "%" followed by two upper-case hex digits.

The allowed characters are specified by ALLOWED-CHARS. If this argument is nil, the list url-unreserved-chars determines the allowed characters. Otherwise, ALLOWED-CHARS should be either a list of allowed chars, or a vector whose Nth element is non-nil if character N is allowed.

Aliases

mh-url-hexify-string