bugPSPP - Bugs: bug #40605, Figure out exact treatment of line...

 
 

bug #40605: Figure out exact treatment of line ends in text files

Submitter:  Ben Pfaff <blp>
Submitted:  Sat 16 Nov 2013 07:39:03 PM UTC
   
 
Category:  System/Portable File I/O Severity:  5 - Average
Priority:  5 - Normal Status:  None
Assigned to:  None Open/Closed:  Open
Release:  None Effort:  0.00
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sun 02 Nov 2014 06:57:17 PM UTC, comment #3: 

Here is a discussion about a csv export from a website:

http://lists.gnu. ... -11/msg00002.html

Although that one seems to be really crappy containing different character encodings latin-1 and utf-8 for variable description and case data. However it also contains <CR><LF> inside variable string data. The cases themselves are separated by <LF>.

Friedrich Beckmann <beckmanf>
Group Member
Thu 23 Jan 2014 05:45:38 AM UTC, comment #2: 

I learned one thing: on a Mac, Excel
exports .csv files with CR-only line ends, and on Windows, Excel exports .csv files with CR+LF line ends.  Users expect both formats to import OK.

Ben Pfaff <blp>
Group administrator
Sat 16 Nov 2013 07:40:13 PM UTC, comment #1: 

The experiment I proposed was this:
http://lists.gnu. ... -09/msg00031.html

Ben Pfaff <blp>
Group administrator
Sat 16 Nov 2013 07:39:03 PM UTC, original submission:  

At least one survey website generates text files, intended for use with SPSS, whose lines end in only CRs (not LF or CR+LF).  PSPP does not understand this format.  SPSS's behavior is not well understood in this area.

One experiment has been performed but I do not yet understand the results, so further experiments might be necessary:
http://lists.gnu. ... -09/msg00034.html
http://lists.gnu. ... -09/msg00033.html

Ben Pfaff <blp>
Group administrator

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by beckmanf (Posted a comment)
  • -email is unavailable- added by blp (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code