encoding/csv: documentation of UseCRLF
is incomplete
#47774
Labels
Documentation
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
According to the documentation of the UseCRLF flag here:
go/src/encoding/csv/writer.go
Line 23 in 946e254
it only influences the line terminator. When looking at the code one can see that setting that flag to true also impacts the output of the cell content: \r is removed and \n replaced by \r\n.
This behavior should also be reflected in the documentation!
The text was updated successfully, but these errors were encountered: