{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/4542","labels_url":"https://api.github.com/repos/atom/atom/issues/4542/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/4542/comments","events_url":"https://api.github.com/repos/atom/atom/issues/4542/events","html_url":"https://github.com/atom/atom/issues/4542","id":51678559,"number":4542,"title":"UTF-8 problems: characters mysteriously incorrectly encoded","user":{"login":"ddbrierton","id":7255543,"avatar_url":"https://avatars.githubusercontent.com/u/7255543?v=3","gravatar_id":"","url":"https://api.github.com/users/ddbrierton","html_url":"https://github.com/ddbrierton","followers_url":"https://api.github.com/users/ddbrierton/followers","following_url":"https://api.github.com/users/ddbrierton/following{/other_user}","gists_url":"https://api.github.com/users/ddbrierton/gists{/gist_id}","starred_url":"https://api.github.com/users/ddbrierton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddbrierton/subscriptions","organizations_url":"https://api.github.com/users/ddbrierton/orgs","repos_url":"https://api.github.com/users/ddbrierton/repos","events_url":"https://api.github.com/users/ddbrierton/events{/privacy}","received_events_url":"https://api.github.com/users/ddbrierton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kevinsawicki","id":671378,"avatar_url":"https://avatars.githubusercontent.com/u/671378?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinsawicki","html_url":"https://github.com/kevinsawicki","followers_url":"https://api.github.com/users/kevinsawicki/followers","following_url":"https://api.github.com/users/kevinsawicki/following{/other_user}","gists_url":"https://api.github.com/users/kevinsawicki/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinsawicki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinsawicki/subscriptions","organizations_url":"https://api.github.com/users/kevinsawicki/orgs","repos_url":"https://api.github.com/users/kevinsawicki/repos","events_url":"https://api.github.com/users/kevinsawicki/events{/privacy}","received_events_url":"https://api.github.com/users/kevinsawicki/received_events","type":"User","site_admin":true},"milestone":null,"comments":2,"created_at":"2014-12-11T12:01:18Z","updated_at":"2015-02-13T02:17:17Z","closed_at":null,"body":"Atom 0.155 / Mac OS X 10.10.1\r\n\r\nI’ve encountered a problem that I am reasonably certain was caused by Atom, but which I cannot reproduce (and therefore I have no test case to submit). I know how unuseful such a bug report is, but thought you should be aware of the issue.\r\n\r\n99% of the time I am programming, and so am pretty much just using ASCII. However, everything is saved in UTF-8, as is usual nowadays and is Atom’s default. During the last couple of days I needed to update a bunch of strings/locales files (de, es, fr, it, ja, pt-BR, zh-Hans, and zh-Hant) and now see several garbled characters have been introduced into lines which previously were good and which I had not edited. (I can tell this from the SVN history, for example in a de file I edited, I can see the line I changed, but also in a line I did not edit I see a ö converted to �.) (The files in question had only been edited by me, only using Atom.)\r\n\r\nIf I do a Find in Project for � (not scientific, I’m sure, but I’m not sure what else I can do) and restrict it just to the locales directory, I see a lot of results from files that previously were good. I can’t find any way to copy-and-paste from the Find in Project results pane, so here is a screenshot:\r\n\r\n![screen shot 2014-12-10 at 17 05 09](https://cloud.githubusercontent.com/assets/7255543/5393735/1d7b4a94-8135-11e4-8576-5c4b5502326f.png)\r\n\r\nConfusingly, some of those files are in fact fine. If I open them by clicking on the line in the Find in Project results pane I do not see the garbled character and the result then disappears from the results pane.\r\n\r\nThis only happens with seemingly random characters, not all. For example in one pt-BR file a ç became garbled but other instances of the same character did not. Similarly in a de file one ö became garbled but others did not.\r\n\r\nPlease let me know if there is anything I can do to help pinpoint the issue. Unfortunately I can’t attach the actual locale files as they are private."},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/74193772","html_url":"https://github.com/atom/atom/issues/4542#issuecomment-74193772","issue_url":"https://api.github.com/repos/atom/atom/issues/4542","id":74193772,"user":{"login":"grizzilus","id":4955347,"avatar_url":"https://avatars.githubusercontent.com/u/4955347?v=3","gravatar_id":"","url":"https://api.github.com/users/grizzilus","html_url":"https://github.com/grizzilus","followers_url":"https://api.github.com/users/grizzilus/followers","following_url":"https://api.github.com/users/grizzilus/following{/other_user}","gists_url":"https://api.github.com/users/grizzilus/gists{/gist_id}","starred_url":"https://api.github.com/users/grizzilus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grizzilus/subscriptions","organizations_url":"https://api.github.com/users/grizzilus/orgs","repos_url":"https://api.github.com/users/grizzilus/repos","events_url":"https://api.github.com/users/grizzilus/events{/privacy}","received_events_url":"https://api.github.com/users/grizzilus/received_events","type":"User","site_admin":false},"created_at":"2015-02-13T02:17:17Z","updated_at":"2015-02-13T02:17:17Z","body":"I've actually had this happen twice to the `“` character. I am having trouble reproducing the exact steps that resulted in this today, but I definitely just performed a couple of regular and project find-and-replace operations for the commit where the problem was introduced. I'm having trouble replicating, but hopefully I can find something that causes this soon. I just wanted to mention that this is definitely something that happens (but I can't confirm it is anything to do with core or the find/replace package and not a community package)."}}