{"action":"opened","issue":{"url":"https://api.github.com/repos/dgollahon/rspectre/issues/17","repository_url":"https://api.github.com/repos/dgollahon/rspectre","labels_url":"https://api.github.com/repos/dgollahon/rspectre/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/dgollahon/rspectre/issues/17/comments","events_url":"https://api.github.com/repos/dgollahon/rspectre/issues/17/events","html_url":"https://github.com/dgollahon/rspectre/issues/17","id":234754687,"number":17,"title":"Errors and warnings when parsing invalid UTF-8","user":{"login":"bquorning","id":22333,"avatar_url":"https://avatars1.githubusercontent.com/u/22333?v=3","gravatar_id":"","url":"https://api.github.com/users/bquorning","html_url":"https://github.com/bquorning","followers_url":"https://api.github.com/users/bquorning/followers","following_url":"https://api.github.com/users/bquorning/following{/other_user}","gists_url":"https://api.github.com/users/bquorning/gists{/gist_id}","starred_url":"https://api.github.com/users/bquorning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bquorning/subscriptions","organizations_url":"https://api.github.com/users/bquorning/orgs","repos_url":"https://api.github.com/users/bquorning/repos","events_url":"https://api.github.com/users/bquorning/events{/privacy}","received_events_url":"https://api.github.com/users/bquorning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-09T08:19:47Z","updated_at":"2017-06-09T08:19:47Z","closed_at":null,"body":"When running against this bit of code:\r\n```rb\r\nRSpec.describe \"invalid UTF8\" do\r\n  let(:invalid_utf8) { \"hello \\255\" }\r\n\r\n  it \"is not the answer\" do\r\n    expect(invalid_utf8).to_not eq(42)\r\n  end\r\nend\r\n```\r\nI get these errors and warnings:\r\n```\r\nutf8_spec.rb:4:24: error: literal contains escape sequences incompatible with UTF-8\r\nutf8_spec.rb:4:   let(:invalid_utf8) { \"hello \\255\" }\r\nutf8_spec.rb:4:                        ^~~~~~~~~~~~\r\nWarning! Skipping utf8_spec.rb due to parsing error!\r\nutf8_spec.rb:4:24: error: literal contains escape sequences incompatible with UTF-8\r\nutf8_spec.rb:4:   let(:invalid_utf8) { \"hello \\255\" }\r\nutf8_spec.rb:4:                        ^~~~~~~~~~~~\r\nUnable to resolve `let` on line 4.\r\n```"}}
{"actor":{"display_login":"bquorning"}}