Skip to content

importccl: IMPORT silently converts \r\n to \n #25344

@dt

Description

@dt

Looks like Go's CSV reader is is doing this for us:

The Reader converts all \r\n sequences in its input to plain \n, including in multiline field values, so that the returned data does not depend on which line-ending convention an input file uses.
-- https://golang.org/pkg/encoding/csv/#Reader

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-disaster-recoveryC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.S-1-blocking-adoption

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions