Skip to content

Encoding::UndefinedConversionError when upgrading to 0.6.2 #127

@jonsmock

Description

@jonsmock

We just upgraded from simplecov 0.5.4 to 0.6.2. I started getting this error (shortened) when running our specs:

simplecov/source_file.rb:81:in `readlines': U+00C6 from UTF-8 to ASCII-8BIT (Encoding::UndefinedConversionError)

We're using ruby 1.9.2-p290. Here's ruby -v:

ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.1]

I see the line was changed here, which looks correct to me (?): https://github.com/colszowka/simplecov/pull/103/files

I see that U+00C6 is http://graphemica.com/%C3%86 . When I run: grep -r Æ . I only get images and vendor/cache/*.gem files.

If I downgrade 0.5.4, simplecov runs fine. If it is something with simplecov, I would like to help fix it, but I don't know what the next step to debug it is. I also don't understand why it's going to ASCII-8BIT in the above error message.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions