Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encoding/csv: add field ForceQuotes to Writer or disable triple quoting... #44966

Closed
paulmil1 opened this issue Mar 12, 2021 · 2 comments
Closed

Comments

@paulmil1
Copy link

paulmil1 commented Mar 12, 2021

copy of : #12755

seriously, theres no customization to the standard writer,
turns out that standard encoder does not quote text in format "digits - digits", then importing it to excel and you see it performed a math subtraction operation, how do i quote that - i cant, if i added a quote myself - i'd have ended up having """LOL"""
lol, primitivity of golang in its best

@mdlayher
Copy link
Member

The previous issue was closed and it seems nothing has changed. If you don't intend to participate in good faith and provide an updated perspective, there's no reason to keep this issue open. Closing.

@golang golang deleted a comment from paulmil1 Mar 12, 2021
@golang golang locked as resolved and limited conversation to collaborators Mar 12, 2021
@ianlancetaylor
Copy link
Contributor

Experience has told us that we can't support all the existing customizations of the CSV format. There are too many. Supporting them all would produce a package that is difficult to use and test.

The code for encoding/csv.Writer is all of 182 lines, including comments. If you need a non-standard format, I encourage you to copy the code and modify it for your purposes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants