08 October 2016

Reading & writing Unicode Files NAV

Hi All, 

You can use an instance of the System.IO.StreamWriter class to write to an OutStream OR the System.IO.StreamReader class to read from an InStream

You control the encoding by using the System.Text.Encoding class where you select between Default, Unicode or UTF8 encoding.


  • Please note that XMLports directly supports importing and exporting flat text files in MS-DOS, UTF-8, UTF-16 encodings by setting the new TextEncoding property.


You can refer below MSDN blog post for more detail. 
Reading-and-writing-unicode-files-using-cal


Thanks & Regards, 
Nandesh Gowda

No comments:

Post a Comment