{"action":"created","issue":{"url":"https://api.github.com/repos/salsify/jsonstreamingparser/issues/36","repository_url":"https://api.github.com/repos/salsify/jsonstreamingparser","labels_url":"https://api.github.com/repos/salsify/jsonstreamingparser/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/salsify/jsonstreamingparser/issues/36/comments","events_url":"https://api.github.com/repos/salsify/jsonstreamingparser/issues/36/events","html_url":"https://github.com/salsify/jsonstreamingparser/issues/36","id":127763497,"number":36,"title":"Error during import of UTF8 files.","user":{"login":"rsanaie","id":1197498,"avatar_url":"https://avatars.githubusercontent.com/u/1197498?v=3","gravatar_id":"","url":"https://api.github.com/users/rsanaie","html_url":"https://github.com/rsanaie","followers_url":"https://api.github.com/users/rsanaie/followers","following_url":"https://api.github.com/users/rsanaie/following{/other_user}","gists_url":"https://api.github.com/users/rsanaie/gists{/gist_id}","starred_url":"https://api.github.com/users/rsanaie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsanaie/subscriptions","organizations_url":"https://api.github.com/users/rsanaie/orgs","repos_url":"https://api.github.com/users/rsanaie/repos","events_url":"https://api.github.com/users/rsanaie/events{/privacy}","received_events_url":"https://api.github.com/users/rsanaie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-20T19:21:23Z","updated_at":"2016-04-02T18:12:05Z","closed_at":"2016-04-02T18:11:27Z","body":"When we import a UTF8 file fread starts with reading the BOM signature for the file and it causes an error in parsing the stream with error **Document must start with object or array.**\r\n\r\nI believe the problem is fully answered here and should be a fairly easy fix :smile: \r\n\r\nhttps://stackoverflow.com/questions/9126423/php-fread-function-returning-extra-charactors-at-the-front-on-utf-8-text-files\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/salsify/jsonstreamingparser/issues/comments/204768061","html_url":"https://github.com/salsify/jsonstreamingparser/issues/36#issuecomment-204768061","issue_url":"https://api.github.com/repos/salsify/jsonstreamingparser/issues/36","id":204768061,"user":{"login":"gonzofy","id":52811,"avatar_url":"https://avatars.githubusercontent.com/u/52811?v=3","gravatar_id":"","url":"https://api.github.com/users/gonzofy","html_url":"https://github.com/gonzofy","followers_url":"https://api.github.com/users/gonzofy/followers","following_url":"https://api.github.com/users/gonzofy/following{/other_user}","gists_url":"https://api.github.com/users/gonzofy/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzofy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzofy/subscriptions","organizations_url":"https://api.github.com/users/gonzofy/orgs","repos_url":"https://api.github.com/users/gonzofy/repos","events_url":"https://api.github.com/users/gonzofy/events{/privacy}","received_events_url":"https://api.github.com/users/gonzofy/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T18:12:05Z","updated_at":"2016-04-02T18:12:05Z","body":"@rsanaie sorry for the delay, but the parser is now able to skip the Byte Order Marks for UTF-encoded JSON documents. Release tag is 6.0.1."}}