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
  • 11,184
  • 66
  • 189
  • 343

1 Answers1

0

Try WebUtility.UrlDecode:

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

or HttpUtility.UrlDecode:

    string s = HttpUtility.UrlDecode("Wuce%C3%B1o");
AlexD
  • 32,156
  • 3
  • 71
  • 65