You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
Yes, it's still reproducable
What version of Laravel Excel are you using?
3.1
What version of Laravel are you using?
11.10
What version of PHP are you using?
8.1
Describe your issue
When importing a csv file with some rows starting with the character "n" the library is not correctly reading the rows.
Sometimes the rows are merged in an unique string and other times the character "n" is removed from the string.
The imported file is in the correct format. The cells' delimiter is comma and the rows' delimiter is CRLF.
How can the issue be reproduced?
Importing a csv file with the content below: test-import.csv
As you can notice the characters "n" are totally removed from the first element's "email" string.
What should be the expected behaviour?
The collection method should inject a collection of $rows where each one corresponds to a single line of the file (and no more) and the string corresponding to the cells should be remain whole.
The text was updated successfully, but these errors were encountered:
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1
What version of Laravel are you using?
11.10
What version of PHP are you using?
8.1
Describe your issue
When importing a csv file with some rows starting with the character "n" the library is not correctly reading the rows.
Sometimes the rows are merged in an unique string and other times the character "n" is removed from the string.
The imported file is in the correct format. The cells' delimiter is comma and the rows' delimiter is CRLF.
How can the issue be reproduced?
Importing a csv file with the content below:
test-import.csv
Dumping the $rows collection inside the collection method of the import class that implements ToColletion should return something like:
As you can notice the characters "n" are totally removed from the first element's "email" string.
What should be the expected behaviour?
The collection method should inject a collection of $rows where each one corresponds to a single line of the file (and no more) and the string corresponding to the cells should be remain whole.
The text was updated successfully, but these errors were encountered: