Skip to content

Commit 1fdeafa

Browse files
committed
improve documentation
1 parent 3351634 commit 1fdeafa

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/9.0/connections/bom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ If your document does not contains any BOM sequence you can speed up the CSV ite
9999
$raw_csv = Reader::BOM_UTF8."john,doe,[email protected]\njane,doe,[email protected]\n";
100100
$csv = Reader::createFromString($raw_csv);
101101
$csv->setOutputBOM(Reader::BOM_UTF16_BE);
102-
$csv->disableBOMSkipping();
102+
$csv->preserveInputBOM();
103103
ob_start();
104104
$csv->output();
105105
$document = ob_get_clean();

docs/9.0/converter/xml.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ $converter = (new XMLConverter())
7777
;
7878

7979
$records = $stmt->process($csv);
80-
$records->preserveRecordOffset(true);
8180

8281
$dom = $converter->convert($records);
8382
$dom->formatOutput = true;

0 commit comments

Comments
 (0)