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 #668] Use encoding from Parser in call to IO.read in EndOfLine. #677

Merged
merged 1 commit into from
Dec 15, 2013

Conversation

jonas054
Copy link
Collaborator

The Source::Buffer object we get from Parser has an encoding that has been
figured out based on BOM and magic encoding comment. Use it.

…fLine.

The Source::Buffer object we get from Parser has an encoding that has been
figured out based on BOM and magic encoding comment. Use it.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) when pulling 205c66d on jonas054:fix_eol_cop_encoding_problem into 5fb62c8 on bbatsov:master.

@bbatsov
Copy link
Collaborator

bbatsov commented Dec 15, 2013

👍 Nice catch.

bbatsov added a commit that referenced this pull request Dec 15, 2013
[Fix #668] Use encoding from Parser in call to IO.read in EndOfLine.
@bbatsov bbatsov merged commit f97b4ae into rubocop:master Dec 15, 2013
@jonas054 jonas054 deleted the fix_eol_cop_encoding_problem branch July 14, 2014 07:23
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.

3 participants