We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a Pipe Delimited CSV (Source) like:
COLUMN 1|COLUMN 2|COLUMN 3 VALUE A1|VALUE A2|VALUE A3 VALUE B1|VALUE B2|VALUE B3
I want a CSV (Target) like:
"COLUMN 1","COLUMN 2","COLUMN 3" "VALUE A1","VALUE A2","VALUE A3" "VALUE B1","VALUE B2","VALUE B3"
How do I go about:
Will appreciate it if I can have a small sample on this.
The text was updated successfully, but these errors were encountered:
https://csv.js.org/parse/recipes/stream_pipe/ all the information for what's being asked is here. If you have 0x00 it sounds like you have UTF-16 you can try setting encoding https://csv.js.org/parse/options/encoding/
Sorry, something went wrong.
@kitsunde Thanks,
Problem is that I do not know what format the CSV is in that the client upload (UTF-16, UTF-8, etc). This can be any of these.
https://www.npmjs.com/search?q=charset-detection there's a lot of libraries that can help you detect encoding.
No branches or pull requests
I have a Pipe Delimited CSV (Source) like:
I want a CSV (Target) like:
How do I go about:
Will appreciate it if I can have a small sample on this.
The text was updated successfully, but these errors were encountered: