0

Cookie value stored in UTF8 Encoded value Wuce%C3%B1o. Acutual value is Wuceño. How to convert the encoded value in decode to get Wuceño in c#?

James123
  • 10,572
  • 61
  • 180
  • 329

1 Answers1

0

Try WebUtility.UrlDecode:

    string s = WebUtility.UrlDecode("Wuce%C3%B1o");

or HttpUtility.UrlDecode:

    string s = HttpUtility.UrlDecode("Wuce%C3%B1o");
AlexD
  • 31,231
  • 3
  • 67
  • 62