correios-api icon indicating copy to clipboard operation
correios-api copied to clipboard

Error on ruby 1.9.1

Open aleqi200 opened this issue 13 years ago • 2 comments

ArgumentError: invalid byte sequence in UTF-8 from /usr/lib/ruby/gems/1.9.1/gems/guilhermechapiewski-correios-api-0.1.2/lib/correios.rb:31:in block in parse_tr' from /usr/lib/ruby/gems/1.9.1/gems/guilhermechapiewski-correios-api-0.1.2/lib/correios.rb:29:ineach' from /usr/lib/ruby/gems/1.9.1/gems/guilhermechapiewski-correios-api-0.1.2/lib/correios.rb:29:in parse_tr' from /usr/lib/ruby/gems/1.9.1/gems/guilhermechapiewski-correios-api-0.1.2/lib/correios.rb:18:inblock in encomenda' from /usr/lib/ruby/gems/1.9.1/gems/guilhermechapiewski-correios-api-0.1.2/lib/correios.rb:16:in each' from /usr/lib/ruby/gems/1.9.1/gems/guilhermechapiewski-correios-api-0.1.2/lib/correios.rb:16:inencomenda'

aleqi200 avatar Oct 17 '11 11:10 aleqi200

Hey dude,

I'm not using this API for some time now and it might be broken in newer versions of Ruby.

Do you want to send me a patch to fix that? If you wish to do that, just remember to be backward compatible.

Thanks, gc

guilhermechapiewski avatar Oct 18 '11 19:10 guilhermechapiewski

Patched!

feromes avatar Dec 23 '11 17:12 feromes