tumblr tracker

ReadUTF8

Library Reference ›› File ››
Parent Previous Next

File.ReadUTF8


Namespace: File


Reads the content of a file to a string and converts it from UTF8 to Unicode.


retval = File.ReadUTF8(FilePath)


Parameters:

- Path; string constant or variable containing the file path to read from


Returns:

Content of the file; string.


Example


$Content = File.ReadUTF8("C:\TEMP\somefile.txt")