.encode: encode uri for carbon.js
Description
encode uri string for carbon.js.
Augmented version of than URLencode
Usage
.encode(self, private, URL, reserved, repeated)
Arguments
- self
carbon self object
- private
carbon private object
- URL
character, uri string to url encode
- reserved
boolean, should ‘reserved’ characters be encoded?
- repeated
boolean, should apparently already-encoded URLs be encoded again?