Sign in Join
FPDoc Onlineexperiment

TCSVParser.DetectBOM property

Member of TCSVParserpublicIn unit CsvReadWrite

Must the parser attempt to read the BOM marker ?

Declaration

pascal
property DetectBOM: Boolean read FDetectBOM write FDetectBOM default False;

Description

DetectBOM can be set to True if you want the CSV parser to attempt to detect a BOM marker. If set to True, then ResetParser will attempt to read the BOM marker when the CSV data is set using SetSource The result of the detection is available the in BOM property) after the source data is set. It follows that DetectBOM must be set before calling SetSource.

See also

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