Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid byte sequence in us ascii #62

Merged

Conversation

alexdreher
Copy link
Contributor

Hi,

I fixed #31 to work with ruby 1.9.

Cheers,
Alex

@pboling
Copy link

pboling commented Feb 11, 2011

I am using your branch, thanks for the fix. I hope it gets pulled in!

@qichunren
Copy link

I hope it gets pulled in! So that I can make it rake spec:rcov work in ruby 1.9.2

@dedman
Copy link

dedman commented May 10, 2011

Just hit this issue aswell, would be nice to see it get pulled in for the next release.

@ddebernardy
Copy link

+1

1 similar comment
@kdaigle
Copy link

kdaigle commented Jul 7, 2011

+1

@rsanheim
Copy link
Contributor

rsanheim commented Aug 5, 2011

Merging this, although to be honest doing a brute force_encoding seems like it could be dangerous down the road...

@rsanheim rsanheim closed this Aug 5, 2011
@rsanheim rsanheim reopened this Aug 5, 2011
rsanheim added a commit that referenced this pull request Aug 5, 2011
…S-ASCII

Fix invalid byte sequence in us ascii
@rsanheim rsanheim merged commit 045f195 into relevance:master Aug 5, 2011
@rsanheim
Copy link
Contributor

rsanheim commented Aug 5, 2011

Note that Rcov will probably give you weird or inaccurate results with 1.9 -- use SimpleCov for 1.9 or something similar.

@alexdreher
Copy link
Contributor Author

Thanks for the pull. I have totally to agree that forcing wasn't the smartest idea. It was just a hotfix to get it back working. Using SimpleCov for 1.9 as well by now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

file_statistics.rb:115:in `block in is_code?': invalid byte sequence in US-ASCII
7 participants