{"action":"created","issue":{"url":"https://api.github.com/repos/soenkehahn/string-conversions/issues/7","repository_url":"https://api.github.com/repos/soenkehahn/string-conversions","labels_url":"https://api.github.com/repos/soenkehahn/string-conversions/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/soenkehahn/string-conversions/issues/7/comments","events_url":"https://api.github.com/repos/soenkehahn/string-conversions/issues/7/events","html_url":"https://github.com/soenkehahn/string-conversions/issues/7","id":150237126,"number":7,"title":"Provide strict conversion from ByteString to Text","user":{"login":"mitchellwrosen","id":1074598,"avatar_url":"https://avatars.githubusercontent.com/u/1074598?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellwrosen","html_url":"https://github.com/mitchellwrosen","followers_url":"https://api.github.com/users/mitchellwrosen/followers","following_url":"https://api.github.com/users/mitchellwrosen/following{/other_user}","gists_url":"https://api.github.com/users/mitchellwrosen/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellwrosen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellwrosen/subscriptions","organizations_url":"https://api.github.com/users/mitchellwrosen/orgs","repos_url":"https://api.github.com/users/mitchellwrosen/repos","events_url":"https://api.github.com/users/mitchellwrosen/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellwrosen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-22T01:20:48Z","updated_at":"2016-04-22T05:47:37Z","closed_at":null,"body":"Currently all ByteString -> Text conversions use `Data.Text.Encoding.Error.lenientDecode`. However, some users might prefer the `UnicodeException` be thrown instead.\r\n\r\nSo, I propose an alternative module `Data.Conversions.String.Strict`, which is a drop-in replacement for `Data.Conversions.String`, but uses `Data.Text.Encoding.Error.strictDecode` in the ByteString -> Text instances."},"comment":{"url":"https://api.github.com/repos/soenkehahn/string-conversions/issues/comments/213272108","html_url":"https://github.com/soenkehahn/string-conversions/issues/7#issuecomment-213272108","issue_url":"https://api.github.com/repos/soenkehahn/string-conversions/issues/7","id":213272108,"user":{"login":"soenkehahn","id":402539,"avatar_url":"https://avatars.githubusercontent.com/u/402539?v=3","gravatar_id":"","url":"https://api.github.com/users/soenkehahn","html_url":"https://github.com/soenkehahn","followers_url":"https://api.github.com/users/soenkehahn/followers","following_url":"https://api.github.com/users/soenkehahn/following{/other_user}","gists_url":"https://api.github.com/users/soenkehahn/gists{/gist_id}","starred_url":"https://api.github.com/users/soenkehahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soenkehahn/subscriptions","organizations_url":"https://api.github.com/users/soenkehahn/orgs","repos_url":"https://api.github.com/users/soenkehahn/repos","events_url":"https://api.github.com/users/soenkehahn/events{/privacy}","received_events_url":"https://api.github.com/users/soenkehahn/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T05:47:37Z","updated_at":"2016-04-22T05:47:37Z","body":"@mitchellwrosen: Btw, I just realized in shock that this project doesn't have a test-suite. I added one in #8."}}