{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/4410","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/4410/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4410/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/4410/events","html_url":"https://github.com/dotnet/roslyn/issues/4410","id":99630728,"number":4410,"title":"Non-unicode source code with Cyrillic symbols in identifiers leads either to unexpected results, or compilation errors","user":{"login":"Dennis-Petrov","id":5005677,"avatar_url":"https://avatars.githubusercontent.com/u/5005677?v=3","gravatar_id":"","url":"https://api.github.com/users/Dennis-Petrov","html_url":"https://github.com/Dennis-Petrov","followers_url":"https://api.github.com/users/Dennis-Petrov/followers","following_url":"https://api.github.com/users/Dennis-Petrov/following{/other_user}","gists_url":"https://api.github.com/users/Dennis-Petrov/gists{/gist_id}","starred_url":"https://api.github.com/users/Dennis-Petrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dennis-Petrov/subscriptions","organizations_url":"https://api.github.com/users/Dennis-Petrov/orgs","repos_url":"https://api.github.com/users/Dennis-Petrov/repos","events_url":"https://api.github.com/users/Dennis-Petrov/events{/privacy}","received_events_url":"https://api.github.com/users/Dennis-Petrov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/3","html_url":"https://github.com/dotnet/roslyn/milestones/1.1","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/3/labels","id":937401,"number":3,"title":"1.1","description":"This is our 1.1 Milestone.\r\n\r\n<!---\r\n@huboard:{\"order\":1.5}\r\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":449,"closed_issues":193,"state":"open","created_at":"2015-01-15T20:48:41Z","updated_at":"2015-08-13T18:26:47Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-07T11:19:35Z","updated_at":"2015-08-13T18:26:47Z","closed_at":"2015-08-13T18:26:47Z","body":"Hi.\r\nConsider this code:\r\n\r\n    using System;\r\n\r\n    class Program\r\n    {\r\n        enum Цвета\r\n        {\r\n            Красный,\r\n            Желтый,\r\n            Зеленый\r\n        }\r\n\r\n\t    public static void Main()\r\n\t    {\r\n\t\t    Console.WriteLine(Цвета.Красный);\r\n\t    }\r\n    }\r\n\r\nIdentifiers here (particularly, `enum`) contain Cyrillic symbols. If this code will be saved to the cs file, using WIN-1251 code page, it will be compiled, but the output will be \"E?aniue\" instead of \"Красный\".\r\n\r\nThe \"old\" compiler (from \"%Windir%\\Microsoft.NET...\") compiles this code correctly, the program output is \"Красный\". Saving source to UTF-8 also helps.\r\n\r\nUsing Rolsyn from VS 2015 with this bug leads to compilation errors in output window, while IntelliSense works fine.\r\n\r\n\r\n\r\n"}}