Closed (fixed)
Project:
VBO export
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2017 at 01:49 UTC
Updated:
9 Mar 2020 at 20:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
robpowellComment #3
graber commentedFor the whitespace, see https://www.drupal.org/node/2896348#comment-12181404.
As to the delimeter problem - looks like different versions of Excel have different default csv reading rules.
A good solution would be to add a setting to choose a delimeter in admin settings section.
I know csv can be delimeted by comma and semicolon, any other options required?
Comment #4
robpowell@graber I think they are less popular but tab and pipe ('|').
Comment #5
graber commentedAdded a config for selecting from semicolon, comma or pipe.
Comment #7
graber commented1.5 month without a review so I assume all is fine. Committing.
Comment #9
dmezquiaHi, i have the same issues but with the exported csv file, it shows whitespaces, i applied the patch and it did not work.
Comment #10
graber commentedWe may have to strip whitespaces.
Comment #11
graber commentedAfter some time I got back to the project and reproduced the issue. The answer is there: https://stackoverflow.com/questions/4238433/php-how-to-create-a-newline-... - we need to use double quotes for new line replacement in PHP
strtr().Comment #13
graber commentedComment #15
graber commentedOne more thing: when twig debug is on, a lot of new lines are generated. Those will now be successfully converted to spaces so best practice for testing the output would be turning the twig debug off.
Comment #16
graber commentedRight. I guess this is no longer an issue.