{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/nibabel/issues/354","labels_url":"https://api.github.com/repos/nipy/nibabel/issues/354/labels{/name}","comments_url":"https://api.github.com/repos/nipy/nibabel/issues/354/comments","events_url":"https://api.github.com/repos/nipy/nibabel/issues/354/events","html_url":"https://github.com/nipy/nibabel/pull/354","id":110129027,"number":354,"title":"BF: Make sure xml is encoded as utf-8","user":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-10-07T00:16:28Z","updated_at":"2015-10-17T00:10:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nipy/nibabel/pulls/354","html_url":"https://github.com/nipy/nibabel/pull/354","diff_url":"https://github.com/nipy/nibabel/pull/354.diff","patch_url":"https://github.com/nipy/nibabel/pull/354.patch"},"body":"Valid XML has to be utf-8--in bytes. Current code doesn't explicitly encode or decode, and so different versions of Python return bytes (Python 2) or Unicode (Python 3). \r\n\r\nThis caused test errors in the `cifti` PR (and was fixed there); a similar issue needs to be fixed for GIFTI."},"comment":{"url":"https://api.github.com/repos/nipy/nibabel/issues/comments/148868736","html_url":"https://github.com/nipy/nibabel/pull/354#issuecomment-148868736","issue_url":"https://api.github.com/repos/nipy/nibabel/issues/354","id":148868736,"user":{"login":"bcipolli","id":4072455,"avatar_url":"https://avatars.githubusercontent.com/u/4072455?v=3","gravatar_id":"","url":"https://api.github.com/users/bcipolli","html_url":"https://github.com/bcipolli","followers_url":"https://api.github.com/users/bcipolli/followers","following_url":"https://api.github.com/users/bcipolli/following{/other_user}","gists_url":"https://api.github.com/users/bcipolli/gists{/gist_id}","starred_url":"https://api.github.com/users/bcipolli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcipolli/subscriptions","organizations_url":"https://api.github.com/users/bcipolli/orgs","repos_url":"https://api.github.com/users/bcipolli/repos","events_url":"https://api.github.com/users/bcipolli/events{/privacy}","received_events_url":"https://api.github.com/users/bcipolli/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T00:10:03Z","updated_at":"2015-10-17T00:10:03Z","body":"Will do, thanks!"}}