lib/rdf/rdfxml/reader/nokogiri.rb in rdf-rdfxml-1.0.2 vs lib/rdf/rdfxml/reader/nokogiri.rb in rdf-rdfxml-1.0.3

- old
+ new

@@ -213,9 +213,10 @@ # Try to detect charset from input options[:encoding] ||= input.charset if input.respond_to?(:charset) # Otherwise, default is utf-8 options[:encoding] ||= 'utf-8' + options[:encoding] = options[:encoding].to_s if options[:encoding] ::Nokogiri::XML.parse(input, base_uri.to_s, options[:encoding]) do |config| config.noent end end