Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Read utf-8 File and Display in TextBox
VB.NET Example Source Code to read a utf-8 text file and display in a text box. ' Load a utf-8 text file into a string and display it.
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Dim sr As New StreamReader("myUtf8.txt", System.Text.Encoding.UTF8)
TextBox1.Text = sr.ReadToEnd()
sr.Close()
End Sub
|
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.