We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After updating from 9.1.2 to 9.1.3 my code is no longer working without error.
$formatter = (new Csv\CharsetConverter()) ->inputEncoding('utf-8') ->outputEncoding('Windows-1252'); $csvWriter = Csv\Writer::createFromFileObject(new \SplFileObject('php://output', 'w')); $csvWriter->addFormatter($formatter); $csvWriter->insertOne(['str', '1', 2]);
No errors.
Type error: mb_convert_encoding() expects parameter 1 to be string, integer given at /var/www/vendor/league/csv/src/CharsetConverter.php:217
The text was updated successfully, but these errors were encountered:
bug fix issue #287
1e4150d
bug fix issue #287 (#288)
fa94758
* bug fix issue #287
Bug fixed in the master branch .. a patch version will be released later this week with the bug fix.
Sorry, something went wrong.
No branches or pull requests
Issue summary
After updating from 9.1.2 to 9.1.3 my code is no longer working without error.
System informations
Standalone code, or other way to reproduce the problem
Expected result
No errors.
Actual result
Type error: mb_convert_encoding() expects parameter 1 to be string, integer given at /var/www/vendor/league/csv/src/CharsetConverter.php:217
The text was updated successfully, but these errors were encountered: