-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add the missing magic header # encoding: utf-8 #3723
Conversation
@jsvd or @jordansissel are you willing to get an eye here, and let me know if this is good to be reviewed ... this is the follow up from #3718 where we discover some missing utf-8 magic headers. |
@purbon do you think it's worth modifying the config_ast.rb generator so the file is created with the encoding line on top? |
We might do it, not sure how to, but I can investigate 🐼 |
@jsvd I was looking at the |
The only .rb file without encoding is the generated grammar file This pending question aside, LGTM |
…s are UTF-8 in Ruby < 2.0
4a742a7
to
c82da3b
Compare
…s are UTF-8 in Ruby < 2.0 Fixes #3723
Merged sucessfully into master 1.5 1.6! |
…s are UTF-8 in Ruby < 2.0 Fixes #3723
… so all internal strings are UTF-8 in Ruby < 2.0, this has been found thanks to the work on #3718, we might like to work on internal check for this, probably with the inclusion of rubocop or other kind of changes.