{"action":"created","issue":{"url":"https://api.github.com/repos/RazorGenerator/RazorGenerator/issues/63","labels_url":"https://api.github.com/repos/RazorGenerator/RazorGenerator/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/RazorGenerator/RazorGenerator/issues/63/comments","events_url":"https://api.github.com/repos/RazorGenerator/RazorGenerator/issues/63/events","html_url":"https://github.com/RazorGenerator/RazorGenerator/issues/63","id":122005796,"number":63,"title":"Support for UTF-8 Without Signature (UTF-8 Without BOM)","user":{"login":"monoblaine","id":540974,"avatar_url":"https://avatars.githubusercontent.com/u/540974?v=3","gravatar_id":"","url":"https://api.github.com/users/monoblaine","html_url":"https://github.com/monoblaine","followers_url":"https://api.github.com/users/monoblaine/followers","following_url":"https://api.github.com/users/monoblaine/following{/other_user}","gists_url":"https://api.github.com/users/monoblaine/gists{/gist_id}","starred_url":"https://api.github.com/users/monoblaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monoblaine/subscriptions","organizations_url":"https://api.github.com/users/monoblaine/orgs","repos_url":"https://api.github.com/users/monoblaine/repos","events_url":"https://api.github.com/users/monoblaine/events{/privacy}","received_events_url":"https://api.github.com/users/monoblaine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-14T09:37:39Z","updated_at":"2015-12-14T21:40:07Z","closed_at":null,"body":"I've recenly upgraded my projects to VS 2015, and found out that if the `.cshtml` files are encoded with utf-8 without bom, the generated `.cs` files are messed up (The non-ascii characters are replaced with weird equivalents). If I change the encoding to \"UTF-8 With Signature\" everything is fine. Should I change the encoding of all the files? Or is it something that could be fixed?\r\n\r\n(using `RazorGenerator.Mvc`, `v2.3.12`)"},"comment":{"url":"https://api.github.com/repos/RazorGenerator/RazorGenerator/issues/comments/164568199","html_url":"https://github.com/RazorGenerator/RazorGenerator/issues/63#issuecomment-164568199","issue_url":"https://api.github.com/repos/RazorGenerator/RazorGenerator/issues/63","id":164568199,"user":{"login":"davidebbo","id":556238,"avatar_url":"https://avatars.githubusercontent.com/u/556238?v=3","gravatar_id":"","url":"https://api.github.com/users/davidebbo","html_url":"https://github.com/davidebbo","followers_url":"https://api.github.com/users/davidebbo/followers","following_url":"https://api.github.com/users/davidebbo/following{/other_user}","gists_url":"https://api.github.com/users/davidebbo/gists{/gist_id}","starred_url":"https://api.github.com/users/davidebbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidebbo/subscriptions","organizations_url":"https://api.github.com/users/davidebbo/orgs","repos_url":"https://api.github.com/users/davidebbo/repos","events_url":"https://api.github.com/users/davidebbo/events{/privacy}","received_events_url":"https://api.github.com/users/davidebbo/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T21:40:07Z","updated_at":"2015-12-14T21:40:07Z","body":"I did a quick test of a regular MVC project with no RazorGenerator.\r\n- I added some French characters to the view: `éà`. Everything ran fine.\r\n- I then used notepad2 to change the file type to utf8 without BOM. That caused it to get messed up and display `Ã©Ã`.\r\n\r\nSo it looks like this is general to MVC/Razor, and not anything specific to the RazorGenerator tool."}}