-
Notifications
You must be signed in to change notification settings - Fork 2
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
document that {read,write}dlm follow RFC 4180 #5
Comments
DLM isn't a real format, and CSV isn't a single standard, but... this seems to follow the common rules for CSV, which mean that |
Hiya, thanks for the reply Firstly having your write out DLM in all caps suddenly makes more sense, I had been thinking for a while that the function had a weird name... Secondly I had no idea what the CSV "standard" did that to double quotation marks, I had just assumed it escaped it. Seeing that this is not a bug, just a misunderstanding of how double quotation marks are represented in CSV, I am going to go ahead and close the issue. Thanks for your help |
No worries – CSV is a confusing and generally terrible format, but it's better all the other ones we have for text-based tabular data. |
It could be useful to mention in the docstring that we take RFC 4180 as the reference for the format. |
Updated as a doc issues. (readdlm delenda est.) |
And as a doc issue, it should be reopened, I guess... |
Given that CSV.jl is now a separate package, do we still need to mention RFC 4180 in |
As long as the function exists I guess it's worth documenting what it does. |
For some reason, I can't transfer this issue to |
I was able to |
@ViralBShah Something has gone horribly wrong. There are now like 5+ copies of this issue on DelimitedFiles.jl. |
Yeah I kept thinking I did it and it wouldn't happen. And it still exists here. |
Deleted the others. Let's see. It still says transfer in progress. |
So from my understanding, the
writedlm
function is used to write arrays to file. When writing an array with strings that have an escaped double quotation mark, unexpected output occurs. This can be reproduced in the REPLCommand To Reproduce
Output
Expected Output
I could not find anything in the documentation that would explain why this would happen, and it seems fine for single quotation marks and any other escaped character
Version Info
The text was updated successfully, but these errors were encountered: