module Cucumber::WindowsOutput
def cucumber_preprocess_output(*a)
def cucumber_preprocess_output(*a) begin a.map{|arg| arg.to_s.encode(Encoding.default_external)} rescue Encoding::UndefinedConversionError => e STDERR.cucumber_puts("WARNING: #{e.message}") a end end