[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Henk

12/3/2002 7:51:00 AM

In the BETA of the .NET Framework, you could create a
text file with code page encoding as follows:

StreamWriter sw = new StreamWriter(File.Create
("test.txt"), new CodePageEncoding(1252))

The CodePageEncoding class was then removed from the
framework in .NET V1.

Does anybody know how to achieve the same result in the
framework ?
1 Answer

NETMaster

12/3/2002 9:55:00 AM

0

Use:

Encoding.GetEncoding( 1252 )

(namespace : System.Text)


--
Thomas Scheidegger - MVP .NET - 'NETMaster'
http://www.cetus-links.org/oo_d... - http://dnetm...