crack
crack copied to clipboard
If the XML says it is UTF-16, Crack parses it into an empty hash.
Is this desired behavior?
>> Crack::XML.parse("<hi></hi>")
=> {"hi"=>nil}
>> Crack::XML.parse("<hi></hi>")
=> {}
>> Crack::XML.parse("<hi></hi>")
=> {"hi"=>nil}
Hi, I'm jumping in here to help maintain this gem for John. Can I ask what version of Ruby?
I wasn't able to reproduce this issue on current master. Feel free to reopen the issue if it still occurs for you