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