-
Notifications
You must be signed in to change notification settings - Fork 175
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
Assume UTF-8 when detecting Rails #2469
Conversation
df096cf
to
40f3b34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
716b7b9
to
76e499d
Compare
Updated based on feedback. Still trying to understand the remaining type error, seems the shim isn't being applied? |
76e499d
to
03788fa
Compare
03788fa
to
3501be2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a shim is not needed, but overall looks good.
3501be2
to
0d9dcec
Compare
0d9dcec
to
d00d6c0
Compare
Motivation
Closes #2463
Implementation
As per suggestion by @kddnewton, we can force-assume UTF-8 when reading the file.
Automated Tests
Undecided on approach. @Earlopain illustrated one way in #2467 but I'm not sure it's worth adding another job.
Edit: Applied a suggestion from @paracycle
Manual Tests
tbc - waiting to hear back from the origina reporters about their
LANG
setting.