{"action":"opened","issue":{"url":"https://api.github.com/repos/deni-zen/csvelte/issues/78","repository_url":"https://api.github.com/repos/deni-zen/csvelte","labels_url":"https://api.github.com/repos/deni-zen/csvelte/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/deni-zen/csvelte/issues/78/comments","events_url":"https://api.github.com/repos/deni-zen/csvelte/issues/78/events","html_url":"https://github.com/deni-zen/csvelte/issues/78","id":170921116,"number":78,"title":"Change file modes on fopen throughout ","user":{"login":"deni-zen","id":17840996,"avatar_url":"https://avatars.githubusercontent.com/u/17840996?v=3","gravatar_id":"","url":"https://api.github.com/users/deni-zen","html_url":"https://github.com/deni-zen","followers_url":"https://api.github.com/users/deni-zen/followers","following_url":"https://api.github.com/users/deni-zen/following{/other_user}","gists_url":"https://api.github.com/users/deni-zen/gists{/gist_id}","starred_url":"https://api.github.com/users/deni-zen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deni-zen/subscriptions","organizations_url":"https://api.github.com/users/deni-zen/orgs","repos_url":"https://api.github.com/users/deni-zen/repos","events_url":"https://api.github.com/users/deni-zen/events{/privacy}","received_events_url":"https://api.github.com/users/deni-zen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-12T17:34:51Z","updated_at":"2016-08-12T17:34:51Z","closed_at":null,"body":"Take a look at this: \r\n\r\n    Note:\r\n\r\n    Different operating system families have different line-ending conventions. When you write a text file and want to insert a line break, you need to use the correct line-ending character(s) for your operating system. Unix based systems use \\n as the line ending character, Windows based systems use \\r\\n as the line ending characters and Macintosh based systems use \\r as the line ending character.\r\n\r\n    If you use the wrong line ending characters when writing your files, you might find that other applications that open those files will \"look funny\".\r\n\r\n    Windows offers a text-mode translation flag ('t') which will transparently translate \\n to \\r\\n when working with the file. In contrast, you can also use 'b' to force binary mode, which will not translate your data. To use these flags, specify either 'b' or 't' as the last character of the mode parameter.\r\n\r\n    The default translation mode depends on the SAPI and version of PHP that you are using, so you are encouraged to always specify the appropriate flag for portability reasons. You should use the 't' mode if you are working with plain-text files and you use \\n to delimit your line endings in your script, but expect your files to be readable with applications such as notepad. You should use the 'b' in all other cases.\r\n\r\n    If you do not specify the 'b' flag when working with binary files, you may experience strange problems with your data, including broken image files and strange problems with \\r\\n characters.\r\n\r\n    Note:\r\n\r\n    For portability, it is strongly recommended that you always use the 'b' flag when opening files with fopen().\r\n\r\n    Note:\r\n\r\n    Again, for portability, it is also strongly recommended that you re-write code that uses or relies upon the 't' mode so that it uses the correct line endings and 'b' mode instead.\r\n"}}
{"actor":{"display_login":"deni-zen"}}