Re: [Mimedefang] utf-8 issue?

2017-12-14 Thread Bill Cole
On 14 Dec 2017, at 9:14 (-0500), Dianne Skoll wrote: On Wed, 13 Dec 2017 20:37:36 -0500 "Bill Cole" wrote: -return IO::File->new(\ $self->{MBS_Data}, $mode); +return IO::Scalar->new(\ $self->{MBS_Data}, $mode); This will cause other problems down the line. I suggest you study the s

Re: [Mimedefang] Is calling action_rebuild() idempotent?

2017-12-14 Thread Dianne Skoll
On Thu, 14 Dec 2017 08:52:32 -0800 Amit Gupta wrote: > If I call action_rebuild() a couple times in my filter_end code, could > it have different effects depending on when it's called? Nope. All it does is set a flag informing mimedefang.pl it should rebuild the message when filter_end is done.

[Mimedefang] Is calling action_rebuild() idempotent?

2017-12-14 Thread Amit Gupta
If I call action_rebuild() a couple times in my filter_end code, could it have different effects depending on when it's called? ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. V

Re: [Mimedefang] utf-8 issue?

2017-12-14 Thread Dianne Skoll
On Wed, 13 Dec 2017 20:37:36 -0500 "Bill Cole" wrote: > -return IO::File->new(\ $self->{MBS_Data}, $mode); > +return IO::Scalar->new(\ $self->{MBS_Data}, $mode); This will cause other problems down the line. I suggest you study the section "Byte and Character Semantics" in the perlunico

Re: [Mimedefang] utf-8 issue?

2017-12-14 Thread Dianne Skoll
On Wed, 13 Dec 2017 21:03:27 -0500 "Bill Cole" wrote: > It is entirely possible (as stated explicitly in RFC2045) for a MIME > entity to contain unencoded binary data: any arbitrary stream of > bytes. Stream of *bytes* yes. But Perl native characters > 0xFF are not bytes. Regards, Dianne. __