# File lib/sup/util.rb, line 318 def ascii out = "" each_byte do |b| if (b & 128) != 0 out << "\\x#{b.to_s 16}" else out << b.chr end end out.force_encoding Encoding::UTF_8 if out.respond_to? :force_encoding out end