Edi Weitz <edi@...> writes:
> Does SBCL have a facility to describe how line endings are treated,
> like, say, '(:LATIN-1 :EOL-STYLE :LF) in LispWorks? My apologies if
> this is in the documentation somewhere, but sbcl.org is down for me.
Not at the moment. (It's an obvious missing piece of our external
format support, along with byte-order-mark and possibly replacement
character treatment.) At present, all external formats implicitly
treat the end-of-line as linefeed only (with the pain that this causes
on Windows) and does not treat an initial #xfeff as a byte-order-mark.
Fixing this would be nice. It might not even be too hard now... a
nice gentle project for someone to tackle in their spare time ;-)
Cheers,
Christophe
|