URL escapes and unescapes strings
;; Interactive functions to hexify and unhexify urls
(defun hexify-region (start end)
(interactive "r")
(let ((hex-string (url-hexify-string
(filter-buffer-substring start end))))
(delete-region start end)
(insert hex-string)))
(defun unhexify-region (start end)
(interactive "r")
(let ((hex-string (url-unhex-string
(filter-buffer-substring start end))))
(delete-region start end)
(insert hex-string)))