{"action":"opened","issue":{"url":"https://api.github.com/repos/Keyang/node-csvtojson/issues/71","labels_url":"https://api.github.com/repos/Keyang/node-csvtojson/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/Keyang/node-csvtojson/issues/71/comments","events_url":"https://api.github.com/repos/Keyang/node-csvtojson/issues/71/events","html_url":"https://github.com/Keyang/node-csvtojson/issues/71","id":123223744,"number":71,"title":"CSV Parsing is improper when the csv file is saved as CSV (Macintosh) (*.csv)","user":{"login":"RoobiniM","id":11403107,"avatar_url":"https://avatars.githubusercontent.com/u/11403107?v=3","gravatar_id":"","url":"https://api.github.com/users/RoobiniM","html_url":"https://github.com/RoobiniM","followers_url":"https://api.github.com/users/RoobiniM/followers","following_url":"https://api.github.com/users/RoobiniM/following{/other_user}","gists_url":"https://api.github.com/users/RoobiniM/gists{/gist_id}","starred_url":"https://api.github.com/users/RoobiniM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoobiniM/subscriptions","organizations_url":"https://api.github.com/users/RoobiniM/orgs","repos_url":"https://api.github.com/users/RoobiniM/repos","events_url":"https://api.github.com/users/RoobiniM/events{/privacy}","received_events_url":"https://api.github.com/users/RoobiniM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-21T07:23:04Z","updated_at":"2015-12-21T07:23:04Z","closed_at":null,"body":"Hi Keyang,\r\nWhen csv file is saved as CSV (MAC) format, each line is separated by the delimiter \"\\r\", hence csv parsing is getting failed.\r\n\r\nInput CSV ( saved in CSV (MAC) format):\r\nJohn,26,xxx\r\nSamantha, 27,yyy\r\n\r\nOutput Json:\r\n{\"field1\":\"ArticleNumber\",\"field2\":\"26\",\"field3\":\"xxx\\rArticleNumber,27,yyy\"}\r\n\r\nThanks,\r\nM.Roobini\r\n"}}