Visual FoxPro
Visual FoxPro
Load utf-8 Text File into a StringBuilder
Demonstrates how to load a utf-8 text file into a StringBuilder object instance.Chilkat Visual FoxPro Downloads
LOCAL lnSuccess
LOCAL loSb
lnSuccess = 0
loSb = CreateObject('Chilkat.StringBuilder')
lnSuccess = loSb.LoadFile("someFileContainingUtf8.txt","utf-8")
IF (lnSuccess <> 1) THEN
? "Failed."
ELSE
? "Success."
ENDIF
RELEASE loSb