Text files generated by this module generally fail to load in Windows applications because of the \n Unix line break instead of expected Windows \r\n
I found no way to enforce these breaks: the \r part is always removed from the file.

How can this be addressed apart of a subsequent, manual processing of the files...

Thanks for help.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Steven Jones’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Component: Miscellaneous » Code
Category: support » bug
Issue tags: +Needs tests

The line breaks really are "\r\n". I wonder if something is stripping the line breaks.
Sounds like a candidate for some tests.

Steven Jones’s picture

Title: How to force windows line breaks in TXT / CSV files » Allow windows line breaks in TXT files
Category: bug » feature

We should allow a way to configure what line breaks are used in TXT files I think.

Steven Jones’s picture

Status: Active » Needs review
FileSize
3.18 KB

Initial work on adding some tests for windows line breaks.

The last submitted patch, views_data_export-allow-windows-line-1942794-3.patch, failed testing.