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

proposed fix for https://github.com/alexeypetrushin/vos/issues/4 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

momolog
Copy link

@momolog momolog commented May 9, 2013

this cures the "incompatible character encodings" exception by forcing strings being written into ASCII-8BIT encoding

al6x#4
by forcing strings being written into ASCII-8BIT encoding
@momolog
Copy link
Author

momolog commented May 9, 2013

Btw. I am by no means an expert on character encodings and their treatment in ruby.
This just happens to fix the above mentioned issue for me, so that both text and binary files get written without errors.

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.

1 participant