{"comment":{"url":"https://api.github.com/repos/qgis/QGIS/comments/13510867","html_url":"https://github.com/qgis/QGIS/commit/0c480a93c6ea453d79c7b0b0440ff1b3d4b3a0df#commitcomment-13510867","id":13510867,"user":{"login":"m-kuhn","id":588407,"avatar_url":"https://avatars.githubusercontent.com/u/588407?v=3","gravatar_id":"","url":"https://api.github.com/users/m-kuhn","html_url":"https://github.com/m-kuhn","followers_url":"https://api.github.com/users/m-kuhn/followers","following_url":"https://api.github.com/users/m-kuhn/following{/other_user}","gists_url":"https://api.github.com/users/m-kuhn/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kuhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kuhn/subscriptions","organizations_url":"https://api.github.com/users/m-kuhn/orgs","repos_url":"https://api.github.com/users/m-kuhn/repos","events_url":"https://api.github.com/users/m-kuhn/events{/privacy}","received_events_url":"https://api.github.com/users/m-kuhn/received_events","type":"User","site_admin":false},"position":5,"line":79,"path":"python/plugins/db_manager/db_plugins/data_model.py","commit_id":"0c480a93c6ea453d79c7b0b0440ff1b3d4b3a0df","created_at":"2015-09-30T08:05:07Z","updated_at":"2015-09-30T08:05:07Z","body":"Couldn't this be replaced with just a simple `return unicode(val, 'utf-8', 'replace')` instead of the whole try-catch thing?"}}