Unit 'csvreadwrite' Package
[Overview][Types][Classes][Procedures and functions][Index] [#fcl]

TCSVParser.DetectBOM

Must the parser attempt to read the BOM marker ?

Declaration

Source position: csvreadwrite.pp line 163

public property TCSVParser.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

SetSource

  

Set the CSV source data.

ResetParser

  

Reset the parser to its initial state.

BOM

  

type of BOM marker found at the start of the data.


Documentation generated on: Dec 22 2024