We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff81bbd commit 2cd2feeCopy full SHA for 2cd2fee
src/File/Json.php
@@ -17,7 +17,7 @@ class Json extends AbstractFile
17
'escape' => '\\',
18
'join' => '_',
19
'null' => null,
20
- 'excel_utf8_fix' => false
+ 'utf8_encoding' => false
21
];
22
23
/**
@@ -44,7 +44,7 @@ public function convert(): string
44
protected function toCsvString(array $data): string
45
{
46
$f = fopen('php://temp', 'wb');
47
- if($this->conversion["excel_utf8_fix"]) {
+ if($this->conversion["utf8_encoding"]) {
48
fprintf($f, chr(0xEF).chr(0xBB).chr(0xBF));
49
}
50
$this->putCsv($f, array_keys(current($data)));
0 commit comments