StreamReader - UTF-8

tcloud

New member
Joined
Nov 6, 2006
Messages
2
Programming Experience
Beginner
I need to read files which contain diacritical characters -- i.e. the upper 128 or "extended" characters of the ASCII character set.

I'm enclosing an example here, but don't know if it will display properly:
"François Désiré, Fond des Nègres, St-Domingue, France"

I have a working app that uses StreamReader -- but it strips those characters out of the string. What I get is:
"Franois Dsir, Fond des Ngres, St-Domingue, France"

According to the VB .Net Help. the default encoding is UTF-8, so what gives? Why are the characters being dropped?

How do I get StreamReader to correctly read these characters?

Any help greatly appreciated.

thanks,
Tom Cloud
 
Back
Top