Hi,
Stumped on what should be easy !
I have some text coming from a web application that needs to be decoded.
To keep it mega simply I would expect that something
like V%E9los to decode as Vélos , i.e, produce a French accent.
However, it instead produces a corrupt character or blackened question mark.
The code is as simple as
string testStr = "V%E9los";
string retStr = System.Web.Http Utility.UrlDeco de(testStr);
retStr returns the string with the problem.
I have tried this by passing in an Encoding constant of UTF8 but it has the same effect.
Any ideas ?
Stumped on what should be easy !
I have some text coming from a web application that needs to be decoded.
To keep it mega simply I would expect that something
like V%E9los to decode as Vélos , i.e, produce a French accent.
However, it instead produces a corrupt character or blackened question mark.
The code is as simple as
string testStr = "V%E9los";
string retStr = System.Web.Http Utility.UrlDeco de(testStr);
retStr returns the string with the problem.
I have tried this by passing in an Encoding constant of UTF8 but it has the same effect.
Any ideas ?