I have a little problem with a string in C#. Actually, I take a JSON flow by an URL.
WebClient webC = new WebClient();
string jsonStr = webC.DownloadString("http://www.express-board.fr/api/jobs");
But when I write the string in the console, I have the problem of encoding.
[...]"contract":"Freelance/Indépendant"[...]
I have try to used lot of trick seen on stackoverflow with Encoding class. But impossible, to solve the problem. Of course if I use the link directly in my web browser and open it in Notepadd++ no problem.
Sometimes, with some combinaison of encoding ( ACSII-> UTF-8 I think), I obtain this :
[...]"contract":"Freelance/Indépendant"[...] to
[...]"contract":"Freelance/Ind??pendant"[...]
This actually returns the string as intended: