Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Osman MALIK [MS]
Bonjour,
Pour lire le contenu du stream, il faut créer un StreamReader avec un encodage en UTF8. Vous trouverez un exemple répondant à votre besoin ici : http://www.ondotnet.com/pub/a/dotnet/excerpt/csharpckbk_chap01/index1.html
Cordialement,
Osman MALIK Microsoft France
"Dimitri TRAVAILLOUX" wrote in message news:
Bonjour
Suite à un Webclient du style Stream data = this.wb.OpenRead (http://fr.news.yahoo.com/303/);
J'aimerais afficher correctement la chaine retournée en UTF8, comment fait on en C# ? merci
Bonjour,
Pour lire le contenu du stream, il faut créer un StreamReader avec un
encodage en UTF8.
Vous trouverez un exemple répondant à votre besoin ici :
http://www.ondotnet.com/pub/a/dotnet/excerpt/csharpckbk_chap01/index1.html
Cordialement,
Osman MALIK
Microsoft France
"Dimitri TRAVAILLOUX" <travailloux@9online.Fr> wrote in message
news:ey17827NFHA.688@TK2MSFTNGP10.phx.gbl...
Bonjour
Suite à un Webclient du style
Stream data = this.wb.OpenRead (http://fr.news.yahoo.com/303/);
J'aimerais afficher correctement la chaine retournée en UTF8, comment fait
on en C# ?
merci
Pour lire le contenu du stream, il faut créer un StreamReader avec un encodage en UTF8. Vous trouverez un exemple répondant à votre besoin ici : http://www.ondotnet.com/pub/a/dotnet/excerpt/csharpckbk_chap01/index1.html
Cordialement,
Osman MALIK Microsoft France
"Dimitri TRAVAILLOUX" wrote in message news:
Bonjour
Suite à un Webclient du style Stream data = this.wb.OpenRead (http://fr.news.yahoo.com/303/);
J'aimerais afficher correctement la chaine retournée en UTF8, comment fait on en C# ? merci