On Mon Feb 01 18:46:46 2010, EVO wrote:
Show quoted text> On Wed Jun 07 11:58:10 2006, guest wrote:
> > If String::Escape::Printable is given a newline character of
> \x0d\x0a,
> > it will return "\n" along with the control value of \x0a.
> >
> > Without digging into it much deeper, I don't know what type of
> effect a
> > small fix might have on the rest of the module.
>
> Hello, and thank you for the feedback on String::Escape.
>
> Do you happen to recall the context this issue came up in?
>
> It appears that the behavior you're describing reflects use of Perl on
> a platform where "\n"
> produces the character \x0a, which might occur on non-Unix platforms.
>
> In that case, I think this might be considered a feature, but either
> way it certainly deserves
> some documentation...
>
> -Simon
If my memory serves me right, the platform was win32. Now that I'm
thinking about it, unless it was platform-specific, there'd be no
guarantee the inverse would apply cleanly.
Unfortunately I don't recall the full context of this bug.. Sorry about
that.
-Clif