StreamWriter := streamWriter.StreamWriter(outStream, encoding.Unicode) Then write this code, using a suitable path for the outFile: System.IO.StreamWriter.’mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′ Let’s start with a small example on writing some text to a file in Unicode format. Please note that XMLports in Microsoft Dynamics NAV 2013 directly supports importing and exporting flat text files in MS-DOS, UTF-8, UTF-16 encodings by setting the new TextEncoding property.You control the encoding by using the class where you select between Default, Unicode or UTF8 encoding. NET Interop to achieve this functionality.įor example, 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. We have had some partner suggestion for adding Unicode capabilities to the existing Microsoft Dynamics NAV File functions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |