Sample code for 30+ languages & platforms
Visual Basic 6.0

Load utf-8 Text File into a StringBuilder

Demonstrates how to load a utf-8 text file into a StringBuilder object instance.

Chilkat Visual Basic 6.0 Downloads

Visual Basic 6.0
Dim success As Long
success = 0

Dim sb As New ChilkatStringBuilder

success = sb.LoadFile("someFileContainingUtf8.txt","utf-8")
If (success <> 1) Then
    Debug.Print "Failed."
Else
    Debug.Print "Success."
End If