Project

General

Profile

Actions

Bug #8611

closed

Minitest encoding problems.

Added by Anonymous almost 11 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.0.0.latest patch
Backport:
[ruby-core:55850]

Description

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0