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

Add '# encoding: UTF-8' to all Ruby files. #8

Merged
merged 1 commit into from Apr 2, 2012

Conversation

KL-7
Copy link
Contributor

@KL-7 KL-7 commented Apr 2, 2012

Addresses the same issue as #4, but with a fewer commits =)

I think you can merge it as an initial solution for encoding problems on 1.9. Afaik 1.8 simply ignores magic comments so it shouldn't cause any problems for this Ruby version. You can add some special logic for 1.8 involving $KCODE later if you think that's necessary.

@kristianfreeman
Copy link
Contributor

Heh, beat me to it. I've been working on some other stuff at the same time as the magic comments :)

Accept this one, not mine!

camertron added a commit that referenced this pull request Apr 2, 2012
Add '# encoding: UTF-8' to all Ruby files to fix encoding issues with Ruby 1.9.
@camertron camertron merged commit 2c55182 into twitter:master Apr 2, 2012
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.

None yet

3 participants