Skip to content

Instantly share code, notes, and snippets.

@biilmann
Created October 12, 2012 19:43
Show Gist options
  • Save biilmann/3881095 to your computer and use it in GitHub Desktop.
Save biilmann/3881095 to your computer and use it in GitHub Desktop.
Jruby json encoding problem
JSON.parse({s: "can’t be blank"}.to_json)
=> {"s"=>"can\xE2\x80\x99t be blank"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment