I have a string that is one character long and can be any possible character value:
irb(main):001:0> \"\\x0\" => \"\\u0000\"
I though
You could use the String#next method.