[Overview][Classes][Procedures and functions][Index] Reference for unit 'LazUTF8Classes' (#lazutils)

SaveStringsToFileUTF8

Saves the content in the TStringList to the specified file name

Declaration

Source position: lazutf8classes.pas line 50

procedure SaveStringsToFileUTF8(

  List: TStrings;

  const FileName: string

);

Arguments

List

  

String list to store in the specified file

FileName

  

Name of the file where the content is stored

Description

SaveStringsToFileUTF8 is a procedure used to save the content in the List to the specified file name. List is a TStrings desccendant with the content to store in the specified file name. FileName can contain UTF-8-encoded character values. SaveStringsToFileUTF8 uses a TStringListUTF8 (when needed) to store the content in the string list to the specified FileName.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.