Skip to content

Commit

Permalink
Merge pull request #62 from alexdreher/fix-invalid-byte-sequence-in-U…
Browse files Browse the repository at this point in the history
…S-ASCII

Fix invalid byte sequence in us ascii
  • Loading branch information
rsanheim committed Aug 5, 2011
2 parents 33167b5 + 4647a08 commit 045f195
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rcov/file_statistics.rb
Expand Up @@ -110,6 +110,7 @@ def is_code?(lineno)
pending = []
state = :code
@lines.each_with_index do |line, index|
line.force_encoding("utf-8")
case state
when :code
if /^=begin\b/ =~ line
Expand Down

0 comments on commit 045f195

Please sign in to comment.