{"action":"created","issue":{"url":"https://api.github.com/repos/joomla-projects/com_localise/issues/297","repository_url":"https://api.github.com/repos/joomla-projects/com_localise","labels_url":"https://api.github.com/repos/joomla-projects/com_localise/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/joomla-projects/com_localise/issues/297/comments","events_url":"https://api.github.com/repos/joomla-projects/com_localise/issues/297/events","html_url":"https://github.com/joomla-projects/com_localise/issues/297","id":143456080,"number":297,"title":"EOL Issues with raw mode","user":{"login":"Valc","id":417247,"avatar_url":"https://avatars.githubusercontent.com/u/417247?v=3","gravatar_id":"","url":"https://api.github.com/users/Valc","html_url":"https://github.com/Valc","followers_url":"https://api.github.com/users/Valc/followers","following_url":"https://api.github.com/users/Valc/following{/other_user}","gists_url":"https://api.github.com/users/Valc/gists{/gist_id}","starred_url":"https://api.github.com/users/Valc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Valc/subscriptions","organizations_url":"https://api.github.com/users/Valc/orgs","repos_url":"https://api.github.com/users/Valc/repos","events_url":"https://api.github.com/users/Valc/events{/privacy}","received_events_url":"https://api.github.com/users/Valc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-25T08:42:23Z","updated_at":"2016-03-25T09:26:08Z","closed_at":null,"body":"#### Steps to reproduce the issue\r\n1 Edit any file with raw mode and save and close it.\r\n2 Edit the same file in normal mode and save and close it.\r\n3 Edit the same file in raw mode and go to the end of the file lines: before the last string now is added a section \"[New strings]\" when not true.\r\n\r\n\r\n#### Expected result\r\nIt will be the same than edit in normal mode: the file is mounted with  \"\\n\"\r\n\r\n\r\n#### Actual result\r\nEditing files in raw mode make save the files without Unix EOL, and one time the \"BOM!\" issues are inserted editing in raw mode then are making fail the normal mode save of files.\r\n\r\n\r\n#### System information (as much as possible)\r\nLinux, so my files are saved as default as UNIX/Linux EOL.\r\n\r\n\r\n#### Additional comments\r\nTo catch the issue the MSP (Enabling the system messages options related with BOM and EOL) has been helping me to found whats was happening, due at the begin this was hard to catch.\r\n\r\nThe stuff is that edit in raw mode save the files without UNIX/Linux EOL, and my files are for sure UNIX/Linux EOL before edit it in raw mode.\r\n\r\nAfter test the issue:\r\n![eol](https://cloud.githubusercontent.com/assets/417247/14041098/1af30338-f26e-11e5-8525-28593062360c.png)\r\n\r\n\r\nRegards.\r\n"},"comment":{"url":"https://api.github.com/repos/joomla-projects/com_localise/issues/comments/201217496","html_url":"https://github.com/joomla-projects/com_localise/issues/297#issuecomment-201217496","issue_url":"https://api.github.com/repos/joomla-projects/com_localise/issues/297","id":201217496,"user":{"login":"infograf768","id":869724,"avatar_url":"https://avatars.githubusercontent.com/u/869724?v=3","gravatar_id":"","url":"https://api.github.com/users/infograf768","html_url":"https://github.com/infograf768","followers_url":"https://api.github.com/users/infograf768/followers","following_url":"https://api.github.com/users/infograf768/following{/other_user}","gists_url":"https://api.github.com/users/infograf768/gists{/gist_id}","starred_url":"https://api.github.com/users/infograf768/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infograf768/subscriptions","organizations_url":"https://api.github.com/users/infograf768/orgs","repos_url":"https://api.github.com/users/infograf768/repos","events_url":"https://api.github.com/users/infograf768/events{/privacy}","received_events_url":"https://api.github.com/users/infograf768/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T09:26:08Z","updated_at":"2016-03-25T09:26:08Z","body":"wait, indeed it does saves with Windows EOL when saving in Raw mode.\r\n"}}