Last active
May 7, 2017 05:51
-
-
Save pedrogimenez/4959827 to your computer and use it in GitHub Desktop.
Fix for the "\xC3" on US-ASCII (Encoding::InvalidByteSequenceError) problem in Ruby 1.9.3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file = File.open(path, 'r:UTF-8') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment