Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat unicode-escaped.json | ruby -ne 'puts $_.gsub(/\\u([\da-fA-F]{4})/) { [$1].pack("H*").unpack("n*").pack("U*") }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement