better s_escape (handle < 32 and utf8 correctly)
no \0 restrict on string (close #1581)