func NewEncoderWithEOL(eol string, enc *Encoding, w io.Writer) io.WriteCloser {
	return &encoder{eol: eol, enc: enc, w: w}
}
func NewEncoderWithEOL(eol string, enc *Encoding, w io.Writer) io.WriteCloser {
	return &encoder{eol: eol, enc: enc, w: w}
}
// Returns an encoder where the line-endings of the resulting stream
// is not the standard value (CRLF)
//
// Standard requires CRLF line endings, but there are some variants
// out there (like Maildir) which requires LF line endings.