The quick brown fox jumps over the lazy dog.
日本語が上手です
eoxml
reader = Nokogiri::XML::Reader.from_memory(string, nil, 'UTF-8')
assert_equal ['UTF-8'], reader.map { |x| x.encoding }.uniq
end
def test_xml_version
reader = Nokogiri::XML::Reader.from_memory(<<-eoxml)