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
{{ message }}
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.
It is useful sometimes when writing CSV files to be able to avoid the "" enclosure if the cell is empty or if the cell content doesn't actually contain the delimiter character.
This can substantially reduce the file size, and increase readability, especially when the CSV file is large.
Hmm.. so, is there any update on this one?
Still can't find how to remove this enclosure.. it's making me a huge mess in one of my projects that is relying on google's adwords editor that for some reason refuses to import a CSV which includes these enclosures.. and i would really love to avoid the replace-all thingy every time.
It is useful sometimes when writing CSV files to be able to avoid the "" enclosure if the cell is empty or if the cell content doesn't actually contain the delimiter character.
This can substantially reduce the file size, and increase readability, especially when the CSV file is large.
A previous report on this is at: http://phpexcel.codeplex.com/workitem/17597 :
Currently a line of output might appear like this:
"1","Hello, John","This is Mark",""
With a simple change this could be made optional, i.e.
1,"Hello, John",This is Mark,
which I believe is valid CSV and would be closer to what alot of other CSV writing programs output.
The relevant code is at:
https://github.com/PHPOffice/PHPExcel/blob/develop/Classes/PHPExcel/Writer/CSV.php#L297
The text was updated successfully, but these errors were encountered: