--- In [email protected], "entropyreduction" <[EMAIL PROTECTED]> wrote: > > I want to use a non-printing character as escape marker in esc(). > > esc("ddd\x02n", "\x02") is accepted but doesn't return a newline as > last character. Should it? Have I got syntax wrong? >
Looking at the code for esc function, for reasons I cannot recall but I
am sure seemed extremely good at the time, esc does not do escaping if
the second arg is <0x20. Try
esc("ddd\xfen", "\xfe")
or similar.
