{"action":"opened","issue":{"url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/94","labels_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/94/comments","events_url":"https://api.github.com/repos/alexdalitz/dnsruby/issues/94/events","html_url":"https://github.com/alexdalitz/dnsruby/issues/94","id":122035715,"number":94,"title":"Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8","user":{"login":"dentarg","id":42626,"avatar_url":"https://avatars.githubusercontent.com/u/42626?v=3","gravatar_id":"","url":"https://api.github.com/users/dentarg","html_url":"https://github.com/dentarg","followers_url":"https://api.github.com/users/dentarg/followers","following_url":"https://api.github.com/users/dentarg/following{/other_user}","gists_url":"https://api.github.com/users/dentarg/gists{/gist_id}","starred_url":"https://api.github.com/users/dentarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dentarg/subscriptions","organizations_url":"https://api.github.com/users/dentarg/orgs","repos_url":"https://api.github.com/users/dentarg/repos","events_url":"https://api.github.com/users/dentarg/events{/privacy}","received_events_url":"https://api.github.com/users/dentarg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-14T12:45:57Z","updated_at":"2015-12-14T12:45:57Z","closed_at":null,"body":"\r\n\r\n```ruby\r\n[15] pry(main)> require \"dnsruby\"\r\n=> true\r\n\r\n[16] pry(main)> Dnsruby::DNS.new.getaddress(\"räksmörgås.josefßon.org\")\r\nEncoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8\r\nfrom /Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/encoder.rb:32:in `put_string'\r\n\r\n[17] pry(main)> Error: incompatible character encodings: ASCII-8BIT and UTF-8\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/encoder.rb:32:in `put_string'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/encoder.rb:72:in `put_label'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/encoder.rb:61:in `block in put_labels'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/encoder.rb:54:in `each_index'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/encoder.rb:54:in `put_labels'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/encoder.rb:50:in `put_name'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/message.rb:553:in `block (2 levels) in encode'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/message.rb:552:in `each'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/message.rb:552:in `block in encode'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/encoder.rb:6:in `initialize'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/message.rb:549:in `new'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/message/message.rb:549:in `encode'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/packet_sender.rb:693:in `make_query_packet'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/packet_sender.rb:331:in `send_async'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/resolver.rb:1007:in `block (3 levels) in tick'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/resolver.rb:993:in `each'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/resolver.rb:993:in `block (2 levels) in tick'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/resolver.rb:983:in `each'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/resolver.rb:983:in `block in tick'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/resolver.rb:981:in `synchronize'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/resolver.rb:981:in `tick'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/select_thread.rb:807:in `block in send_tick_to_observers'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/select_thread.rb:806:in `each'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/select_thread.rb:806:in `send_tick_to_observers'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/select_thread.rb:171:in `do_select'\r\n/Users/dentarg/.gem/ruby/2.2.3/gems/dnsruby-1.59.0/lib/dnsruby/select_thread.rb:70:in `block (2 levels) in initialize'\r\n\r\n[17] pry(main)> RUBY_DESCRIPTION\r\n=> \"ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]\"\r\n```\r\n\r\nAlso strange: the second exception with the long backtrace pops out some seconds later after I have executed `Dnsruby::DNS.new.getaddress(\"räksmörgås.josefßon.org\")` and gotten the first exception"}}