Revert "test-bot: try to handle bad UTF-8 output."

This reverts commit b4c2b8f3b4b58ef10ab8f748c743a3352f4cee7d.
This commit is contained in:
Jack Nagel 2015-04-30 19:41:58 -04:00
parent 01c6c73709
commit e023d869a2

View File

@ -838,11 +838,6 @@ module Homebrew
end end
if ARGV.include? "--junit" if ARGV.include? "--junit"
unless RUBY_VERSION < "1.9"
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
end
xml_document = REXML::Document.new xml_document = REXML::Document.new
xml_document << REXML::XMLDecl.new xml_document << REXML::XMLDecl.new
testsuites = xml_document.add_element "testsuites" testsuites = xml_document.add_element "testsuites"