* David Golden <[EMAIL PROTECTED]> [2008-11-20T22:35:52] > On Thu, Nov 20, 2008 at 10:26 PM, Ricardo SIGNES > <[EMAIL PROTECTED]> wrote: > > * David Golden <[EMAIL PROTECTED]> [2008-11-20T20:34:34] > >> Does QP break lines automatically? > > > > Yes, no line in QP may exceed 76 octets. > > OK -- so, not to complicate things when we don't need to, how about if > Test::Reporter detects a line > 998 characters (not counting CRLF), > then it should QP the body and add appropriate headers? > > Does that seem sane to everyone?
Fine with me, although I think that always encoding would be less complicated. If anything is encoded, readers must be able to deal with it. QP encoding only sometimes complicates the report builder. To be fair, I guess that it make things easier for humans to read, a bit. > And, Rick, do you know of a reasonable pure-perl QP encoder that I can > cut/paste into Test::Reporter (since it's suppose to have absolutely > minimal external module dependencies)? Well, MIME::QuotedPrint is core in 5.008. I'm not sure if there's a reasonable alternative! MIME::Lite has an encode_qp function that's probably close to DTRT, anyway. -- rjbs
