TEscapeMode enumeration
Represents styles used to escape control characters.
Declaration
TEscapeMode = (emPascal,emHexPascal,emC,emHexC,emAsciiControlNames,
emPercent,emCustom)Description
TEscapeMode is an enumerated type with values that determine the
output style for escaped control characters in
Utf8EscapeControlChars. A value from the enumeration is passed to
Utf8EscapeControlChars to control conversion of control characters to their
escaped equivalent. Use emCustom to perform custom encoding for control
characters using the fixed-size array passed as an argument to
Utf8EscapeControlChars.
Enumeration values modified in LazUtils version 5.0. Ordinal positions for the emHexC and emC enumeration values were swapped. Enumeration values emPercent and emCustom were added.
See also
Values
emPascal | Pascal-style escape characters. '#27' |
emHexPascal | Pascal-style hexadecimal strings. '#$1B' |
emC | C-style strings. '\e' |
emHexC | C-style hexadecimal strings. '\0x1B' |
emAsciiControlNames | ASCII-style control character names. '[ESC]' |
emPercent | Percent encoding-style control characters. '%0D' |
emCustom | User-defined encoding style. Passed as a TEscapedStrings argument in the Utf8EscapeControlChars routine. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
