"Li Pang" <Li****@discuss ions.microsoft. comschrieb:
I read a text file line by line, and put the value into a arraylist. But
some special characters lost after asignment. Is there any solution to
avoid
this?
If you are using 'System.IO.Stre amReader' to read the text, you may want to
specify an appropriate encoding in the 'StreamReader'' s constructor.
'System.Text.En coding.Default' returns the system's default Windows-ANSI
codepage, which is used by many applications to encode text files.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>