[
https://issues.apache.org/jira/browse/MIME4J-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617165#action_12617165
]
Stefano Bagnara commented on MIME4J-65:
---------------------------------------
Re: Encoding
I agree on your single stage vs two stage concern. Just I'd like to repeat
(because I have doubts you missed this) that in the case of my refactoring for
the Quoted-Printable we are talking about single stage vs single stage, the
only thing changing is the way we expose the service. There is no performance
changes because there is no change in what the CPU will end up doing: it is
simply a different OOP paradigm. It is a read-encode-write-out vs
read-and-write-on-encoding-out. In both cases we have a buffer read from the
input stream a method that given the buffer writes the encoded version in
output. There is no single write operation introduced by the
QuotedPrintableOutputStream.
About the Base64 I would be happy to reuse your code if you find the time to
fix the 2 issues I reported.
My approach to similar stuff is that we now should apply the mature stuff but
we don't close the 2 Base64Encoder issues (just let's change their priority to
minor). If anyone will decide to fix them we can easily move back to use the
Base64Encoder.
> Message.writeTo for an rfc822 part ignoring a "base64" encoding
> ---------------------------------------------------------------
>
> Key: MIME4J-65
> URL: https://issues.apache.org/jira/browse/MIME4J-65
> Project: Mime4j
> Issue Type: Bug
> Affects Versions: 0.4
> Reporter: Stefano Bagnara
> Fix For: 0.4, 0.5
>
> Attachments: MIME4J-65-complete.patch, MIME4J-65.patch,
> testmsgs-message-rfc822-encoding.zip
>
>
> the writeTo method for a Content-Transfer-Encoding: base64 and Content-Type:
> message/rfc822 part writes the message unencoded.
> I would expect it to be encoded in a base64 stream. See MIME4J-64 for an
> useful test.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]