Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading text files & special charachters
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Reading text files & special charachters
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01043844
Message ID:
01043844
Vues:
45
Hi,

At this moment I'm trying to read some text from a file and place this text in a textbox.

Dim sr As StreamReader = File.OpenText("c:\myfile.txt")
TextBox1.Text = sr.ReadToEnd()
sr.Close()

The streamreader reads my text but ignores special characters likes "é", "ë". Which reader will "read" these characters?

tia,
Sander Bouwmeester
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform