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

Force json file to be UTF8 #117

Merged
merged 1 commit into from Nov 11, 2011

Conversation

jduff
Copy link
Member

@jduff jduff commented Nov 10, 2011

When running ruby using the LANG flag set to something like C (LANG=C
rake test) parsing the json file would fail in ruby 1.9. By setting the
encoding on the file before parsing we avoid these issues.

This is possibly a bug in the json gem, but doing this gets around the issue.

When running ruby using the LANG flag set to something like C (LANG=C
rake test) parsing the json file would fail in ruby 1.9. By setting the
encoding on the file before parsing we avoid these issues.
semmons99 added a commit that referenced this pull request Nov 11, 2011
@semmons99 semmons99 merged commit b96a7bf into RubyMoney:master Nov 11, 2011
@semmons99
Copy link
Member

Excellent! I've merged the patch and given you commit permission. Could you add some tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants