From: "boris_stitnicky (Boris Stitnicky)" Date: 2013-07-08T15:56:15+09:00 Subject: [ruby-core:55851] [ruby-trunk - Bug #8611] Minitest encoding problems. Issue #8611 has been updated by boris_stitnicky (Boris Stitnicky). Sorry for a terse report and lack of supporting materials, I'm extremely busy now. ---------------------------------------- Bug #8611: Minitest encoding problems. https://bugs.ruby-lang.org/issues/8611#change-40360 Author: boris_stitnicky (Boris Stitnicky) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: 2.0.0.latest patch Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN A long standing annoying misfeature of minitest is the problem with encoding, which I have solved by patching the backtrace.join line in units.rb, #puke method with map{ |str| str.force_encoding( "UTF-8 ) }. If I don't do this, the tests in irb won't run, instead I get a complaint about "ASCII 8" versus "UTF-8" incompatibility. Only happens when one extensively uses UTF characters when coding, an annoying intermittent error. -- http://bugs.ruby-lang.org/