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

TStringListUTF8 (deprecated)

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a UTF-8-enabled string list.

Declaration

Source position: lazutf8classes.pas line 26

type TStringListUTF8 = class(TStringList)

protected

  function DoCompareText(); override;

  

Compares UTF-8-encoded lines in the string list.

public

  procedure LoadFromFile(); override;

  

Loads the content in the string list from the specified file.

  procedure SaveToFile(); override;

  

Saves the content in the string to the specified file name.

end;

Inheritance

TStringListUTF8

  

Implements a UTF-8-enabled string list.

|

TStringList

|

TStrings

|

TPersistent,IFPObserved

|

TObject

Description

TStringListUTF8 is a TStringList descendant that implements a string list that can store data which uses UTF-8 encoding. TStringListUTF8 provides an overridden method used to sort items in the list using UTF-8 string comparisons. TStringListUTF8 can also load and save files which have UTF-8-encoded file names.

See also

TStringList