#879: open-uri/stringio throw enoding errors -----------------------------------+---------------------------------------- Reporter: smparkes@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- {{{ require 'open-uri' open("http://subefotos.com") { |f| p f.content_type, f.charset, f.read.encoding } }}} generates {{{ incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError) }}} The page is iso-8859-1 and has the correct header. -- Ticket URL: <http://www.macruby.org/trac/ticket/879> MacRuby <http://macruby.org/>