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 a failure in railties on ruby 1.8.x #3908

Merged
merged 1 commit into from
Dec 8, 2011

Conversation

kennyj
Copy link
Contributor

@kennyj kennyj commented Dec 8, 2011

In Ruby 1.8.x, config.encoding sets $KCODE.
Therefore, the possible values are UTF8, SJIS, or EUC.
And, if we set SJIS, we'll has the error. Because some rails sources are written in utf-8 encoding.

I have tested this patch on ruby-1.9.2 and ree-2011.03

In Ruby 1.8.x, config.encoding sets $KCODE.
Therefore, the possible values are UTF8, SJIS, or EUC.
And, if we set SJIS, we'll has the error. Because some rails sources are written in utf-8 encoding.
josevalim added a commit that referenced this pull request Dec 8, 2011
Fix a failure in railties on ruby 1.8.x
@josevalim josevalim merged commit 7b1930a into rails:master Dec 8, 2011
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

2 participants