That outputs "De, ^k^!" when I use 4 as the offset, encode once, decode once (which the first time works fine), then decode again ($ascii-- produces the same result). It should output "De, xkx!".