Skip to content

Instantly share code, notes, and snippets.

@chris-rock
Created June 20, 2015 10:56
Show Gist options
  • Save chris-rock/515768448fc5ef906f3e to your computer and use it in GitHub Desktop.
Save chris-rock/515768448fc5ef906f3e to your computer and use it in GitHub Desktop.
ruby invalid byte sequence in US-ASCII
# set ruby default encoding for debian-based systems
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment