Ben Wing <ben(a)666.com> writes:
in fact, i just created a "convert-eol" coding system to
handle just
the eol stuff and i'm about to rewrite the subsidiary stuff to
create chains using it -- there was no other obvious way to impose
"crlf" on another chain.
Yes yes yes. That's exactly what the coding system stuff has always
needed. In fact, CRLF should be no more of a special case than GZIP,
except it will be used somewhat more often by the Windows users and
slightly less often by the Unix users. :-)
Stefan is right, we need formats, not operations. the more i work
on this stuff the more i realize the separation of decoding/encoding
is bogus. we really just need a converter, and a coding system is a
pair of converters that oppose each other. it makes less and less
sense to talk about which one "encodes" and which one "decodes".
I think I agree with this view, although I'm not sure about the
consequences of applying it to the implementation/interface.