youpy/ruby-lastfm — pull request #39 by ckdake (2012-10-15 23:18:03+00:00)
Title: Adds basic exception handling for some invalid data

Fixes issue #38. If some data fails to parse in XmlSimple, convert to ISO-8859-1 and try again.

This is far from perfect, but lets these invalid data points be skipped when walking through api results. It's a shame that Last.fm returns invalid data sometimes :(

Test covers this fix and passes on ruby-1.9.3-p194