in reply to how to output special characters?
In a Unix environment, try od -c to see the escape codes.