Get the specified value URL encoded using the specified encoding
Parameters: k - the value to encode Parameters: contentEncoding - the encoding to use when URL encoding the value URL encoded using the specified encoding throws: UnsupportedEncodingException - if the specified encoding is not supported