Notifications
Announcements
No record found.
System.IO.Stream stream1 = streamIO.getStream(); stream1.Position = 0; System.IO.StreamReader reader1 = new System.IO.StreamReader(stream1); str filecontent = reader1.ReadToEnd(); System.Text.Encoding encoding = System.Text.Encoding::GetEncoding(1252); System.Byte[] byteArray = encoding.GetBytes(fileContent); System.IO.Stream stream = new System.IO.MemoryStream(byteArray); stream.Position=0;
streamIO = TextStreamIo::constructForWrite(); streamIO.outFieldDelimiter("^"); streamIO.inFieldDelimiter("$");
System.IO.Stream stream1 = streamIO.getStream(); stream1.Position = 0; System.IO.StreamReader reader1 = new System.IO.StreamReader(stream1); str filecontent = reader1.ReadToEnd(); System.Text.Encoding ansiEncoding = System.Text.Encoding::GetEncoding(1252); System.Text.Encoding utfEncoding = System.Text.Encoding::GetEncoding(65001); System.Byte[] utf8Bytes = utfEncoding.GetBytes(fileContent); System.Byte[] byteArray = System.Text.Encoding::Convert(utfEncoding, ansiEncoding, utf8Bytes); System.IO.Stream stream = new System.IO.MemoryStream(byteArray); stream.Position=0;
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 467 Super User 2025 Season 2
Martin Dráb 420 Most Valuable Professional
BillurSamdancioglu 241 Most Valuable Professional