Make perlbug encoding-agnostic in handling prepared reports.
authorCraig A. Berry <craigberry@mac.com>
Sat, 29 Mar 2014 20:44:03 +0000 (15:44 -0500)
committerCraig A. Berry <craigberry@mac.com>
Fri, 11 Apr 2014 02:42:16 +0000 (21:42 -0500)
commitfc6f6f37f8b700d4561f0611ef0f771349667826
tree4e116d11b81ebd899168521d101ab551654ac6fb
parent45a138846486b6dce36950400746c05ae98b93fb
Make perlbug encoding-agnostic in handling prepared reports.

Guessing the encoding of a report file prepared ahead of time is
really, well, too much guesswork, plus there are at least a couple
of mistakes in the implementation.  And we weren't even trying to
guess for reports created on-the-fly in an editor, which is a bit
inconsistent.

So handle prepared reports the same way as on-the-fly reports and
attachments, which means all I/O is done using the :raw layer.

This is only "Unicode-aware" in the sense that we're aware there
are a lot of encodings out there and we're trying not to mangle
them in transit by accidental conversion.  We're not doing any
explicit character set conversions and we shouldn't assert in the
MIME headers that we know what character set we're sending because
we don't.
utils/perlbug.PL