"\0".inspect returns '"\\0"' in Ruby 2.0.