Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Write Utf-8 FileVB.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()
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2007 Chilkat Software, Inc. All Rights Reserved.