encode uri string for carbon.js. Augmented version of than URLencode
.encode(self, private, URL, reserved, repeated)
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? |
character