{"action":"opened","issue":{"url":"https://api.github.com/repos/wdavidw/node-csv-parse/issues/112","repository_url":"https://api.github.com/repos/wdavidw/node-csv-parse","labels_url":"https://api.github.com/repos/wdavidw/node-csv-parse/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/wdavidw/node-csv-parse/issues/112/comments","events_url":"https://api.github.com/repos/wdavidw/node-csv-parse/issues/112/events","html_url":"https://github.com/wdavidw/node-csv-parse/issues/112","id":179803312,"number":112,"title":"2-Character rowDelimiter Not Accepted","user":{"login":"teschste","id":22501636,"avatar_url":"https://avatars.githubusercontent.com/u/22501636?v=3","gravatar_id":"","url":"https://api.github.com/users/teschste","html_url":"https://github.com/teschste","followers_url":"https://api.github.com/users/teschste/followers","following_url":"https://api.github.com/users/teschste/following{/other_user}","gists_url":"https://api.github.com/users/teschste/gists{/gist_id}","starred_url":"https://api.github.com/users/teschste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teschste/subscriptions","organizations_url":"https://api.github.com/users/teschste/orgs","repos_url":"https://api.github.com/users/teschste/repos","events_url":"https://api.github.com/users/teschste/events{/privacy}","received_events_url":"https://api.github.com/users/teschste/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-28T15:16:50Z","updated_at":"2016-09-28T15:16:50Z","closed_at":null,"body":"When parsing a Windows CSV file, the lines are separated by a \\r\\n combination but when I use csv-parse against those records, I get unexpected results as follows:\r\n\r\n- With no rowDelimiter specified (presumably using the default 'auto'), the rows are parsed on \\r and the \\n is appended to the front of each row after the first.\r\n- With rowDelimiter: 'auto', or 'windows', or 'unix', or 'unicode' specified, the rows are not parsed at all (all records are returned in the first array element).\r\n- With rowDelimiter: '\\r\\n' specified, I get the same results as above, the rows are not parsed at all.\r\n- Specifying rowDelimiter: '\\r' gives the same results as if no rowDelimiter was specified (so at least it works...sort of).\r\n- Specifying rowDelimiter: '\\n' gives the expected opposite effect of no rowDelimiter being specified (the last record of each row has \\r appended to the end).\r\n\r\nI am currently working around the issue by replacing all \\r\\n in my input with \\r only but the documentation for csv-parse implies multiple character delimiters are supported (rowDelimiter (**chars**|constant)), so this should be fixed.\r\n\r\nThanks!"}}
{"actor":{"display_login":"teschste"}}