{"action":"opened","issue":{"url":"https://api.github.com/repos/savonrb/savon/issues/767","repository_url":"https://api.github.com/repos/savonrb/savon","labels_url":"https://api.github.com/repos/savonrb/savon/issues/767/labels{/name}","comments_url":"https://api.github.com/repos/savonrb/savon/issues/767/comments","events_url":"https://api.github.com/repos/savonrb/savon/issues/767/events","html_url":"https://github.com/savonrb/savon/issues/767","id":161291383,"number":767,"title":"Switched from Nokogiri parser to REXML for #hash method to work with ISO character","user":{"login":"jamesfoster85","id":13140028,"avatar_url":"https://avatars.githubusercontent.com/u/13140028?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesfoster85","html_url":"https://github.com/jamesfoster85","followers_url":"https://api.github.com/users/jamesfoster85/followers","following_url":"https://api.github.com/users/jamesfoster85/following{/other_user}","gists_url":"https://api.github.com/users/jamesfoster85/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesfoster85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesfoster85/subscriptions","organizations_url":"https://api.github.com/users/jamesfoster85/orgs","repos_url":"https://api.github.com/users/jamesfoster85/repos","events_url":"https://api.github.com/users/jamesfoster85/events{/privacy}","received_events_url":"https://api.github.com/users/jamesfoster85/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-20T20:51:32Z","updated_at":"2016-06-20T20:51:32Z","closed_at":null,"body":"When receiving the following in an xml response:\r\n        <FirstName>Test</FirstName>\r\n        <LastName>User</LastName>\r\n        <Street1>1234 Dummy Address</Street1>\r\n        <Street2>&#x0;</Street2>\r\n        <City>LAWRENCE</City>\r\n        <State>MA</State>\r\n        <ZipCode>01841</ZipCode>\r\n        <HomePhone />\r\n        <WorkPhone />\r\n\r\nWith the default parser, calling the #hash method on the response returns:\r\n{:street2=>\"LAWRENCEMA01841\"}\r\n\r\nAfter switching to the REXML parser I correctly get:\r\n{:first_name=>\"Test\", :last_name=>\"User\", :street1=>\"1234 Dummy Address\", :street2=>nil, :city=>\"LAWRENCE\", :state=>\"MA\", :zip_code=>\"01841\", :home_phone=>nil, :work_phone=>nil}\r\n\r\nI had first tried changing the encoding to ISO-8859-1 but the result was the same.\r\n\r\nThe real problem is there shouldn't be a � needing to be parsed in the data in the first place, but [the docs](http://savonrb.com/version2/locals.html) suggest opening an issue so here you go."}}
{"actor":{"display_login":"jamesfoster85"}}