encode uri string for carbon.js. Augmented version of than URLencode

.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?

Value

character

See also