| [Overview][Classes][Procedures and functions][Index] |
Loads the content for a TStringList from the specified file name
Source position: lazutf8classes.pas line 49
procedure LoadStringsFromFileUTF8( |
List: TStrings; |
const FileName: string |
); |
List |
|
TStrings descendant where the content is stored |
FileName |
|
File name with the content to load in the string list |
LoadStringsFromFileUTF8 is a procedure used to load the content for a string list from the specified file name. List is the TStrings decendant where the content from FileName is stored. FileName can contain UTF-8-encoded characters. LoadStringsFromFileUTF8 creates an internal TStringListUTF8 instance (when needed) that is used to load the content in FileName, and calls the Assign method in List to store the values.
| lazarus-ccr.sourceforge.net |