Implement encodeURI option.