Sign in Join
FPDoc Onlineexperiment

TEscapedStrings type

In unit LazUTF8

Fixed-length array of strings used to convert control characters to an escaped encoding style.

Declaration

pascal
TEscapedStrings = Array[TControlChars] of string = string

Description

TEscapedStrings is an array type used to represent the escaped values for control characters using a specific encoding style. It is used for character conversion tables needed in the Utf8EscapeControlChars routine. Values in TEscapedStrings are indexed by TControlChars enumeration values, and each element contains a String with the escaped encoding for the corresponding control character.

A pointer to a TEscapedStrings instance (PEscapedStrings) is passed as an argument to the Utf8EscapeControlChars routine for a custom encoding style.

Added in LazUtils version 5.0.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.