Remove unused optimization that could lead in loosing the escape sequence
Use integers instead of non-printable chars in the escape sequence detection