Sample code for 30+ languages & platforms
Xojo Plugin

Load utf-8 Text File into a StringBuilder

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

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim success As Boolean
success = False

Dim sb As New Chilkat.StringBuilder

success = sb.LoadFile("someFileContainingUtf8.txt","utf-8")
If (success <> True) Then
    System.DebugLog("Failed.")
Else
    System.DebugLog("Success.")
End If