I've got a method A with a string argument.
A calls method B, passing the string as an argument.
In B the string is basically encoded with code like this: HttpUtility.UrlEncode(theString).Replace("+", "%20").ToLowerInvariant(); and returned.
When debugging A with the regular debugger and "Testbild för unit test (med mellanslag, specialtecken och svänska tecken).jpg" as the argument, the value returned by B is:
"testbild%20f%c3%b6r%20unit%20test%20(med%20mellanslag%2c%20specialtecken%20och%20sv%c3%a4nska%20tecken).jpg" (the parenthesis are not encoded).
When debugging A with Alive, manually passing the same argument, the value returned by B is:
"testbild%20f%c3%b6r%20unit%20test%20%28med%20mellanslag%2c%20specialtecken%20och%20sv%c3%a4nska%20tecken%29.jpg" (the parenthesis are encoded).
I've got a method A with a string argument.
A calls method B, passing the string as an argument.
In B the string is basically encoded with code like this:
HttpUtility.UrlEncode(theString).Replace("+", "%20").ToLowerInvariant();and returned.When debugging A with the regular debugger and
"Testbild för unit test (med mellanslag, specialtecken och svänska tecken).jpg"as the argument, the value returned by B is:"testbild%20f%c3%b6r%20unit%20test%20(med%20mellanslag%2c%20specialtecken%20och%20sv%c3%a4nska%20tecken).jpg"(the parenthesis are not encoded).When debugging A with Alive, manually passing the same argument, the value returned by B is:
"testbild%20f%c3%b6r%20unit%20test%20%28med%20mellanslag%2c%20specialtecken%20och%20sv%c3%a4nska%20tecken%29.jpg"(the parenthesis are encoded).