Skip to content

Instantly share code, notes, and snippets.

/ruby Secret

Created March 31, 2016 21:27
Show Gist options
  • Save anonymous/e272f20df65878e330a2f52ee957b531 to your computer and use it in GitHub Desktop.
Save anonymous/e272f20df65878e330a2f52ee957b531 to your computer and use it in GitHub Desktop.
2.2.1 :003 > puts "\xE0\xA4\xB8".force_encoding('ASCII-8BIT').to_yaml
--- !binary |-
4KS4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment