Created
October 24, 2013 12:23
-
-
Save dehora/7136257 to your computer and use it in GitHub Desktop.
render unicode escapes in pry
This file contains 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
Pry.hooks.add_hook :after_read, :hack_utf8 do |str, _| | |
str.force_encoding('utf-8') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment