Chilkat HOME Android™ ASP Visual Basic VB.NET C# iOS (IPhone) Objective-C C++ C Unicode C++ Unicode C MFC Delphi DLL Delphi ActiveX FoxPro Java Perl PHP Extension PHP ActiveX Python PowerShell Ruby SQL Server VBScript
Write Utf-8 FileDownload: Chilkat .NET Assemblies VB.NET Example Source Code to write a string as utf-8 to a file. ' Write the string as utf-8.
' This also writes the 3-byte utf-8 preamble at the beginning of the file.
Dim appendMode As Boolean = False ' This overwrites the entire file.
Dim sw As New StreamWriter("out_utf8.txt", appendMode, System.Text.Encoding.UTF8)
sw.Write(TextBox1.Text)
sw.Close()
|
© 2000-2013 Chilkat Software, Inc. All Rights Reserved.