We have implemented an HTTP authentication connection encoded in C # using Uri.EscapeDataString() .
I am trying to create an identical Java test application that does the same as the C # version, but URLEncoder.encode(string, "UTF-8") adds an extra encoding that is not quite the same as the C # Uri.EscapeDataString() .
What is the equivalent coding method?
source share