On Mon, Aug 3, 2009 at 9:20 AM, Paul DeBruicker <pdebruic@gmail.com> wrote:
Hi,

This is all very interesting.

So
'Character cr asciiValue' is 13
'Character lf asciiValue' is 10

This gets complicated.

See http://en.wikipedia.org/wiki/Newline for a better summary than I could write. This should be required reading for anybody working with multi-platform text files.

Perhaps we need Stream>>newline or something?

Squeak follows the Macintosh OS9 convention (refer Wikipedia article above under "Representation"). Arguably we should perhaps start using CR+LF like Internet protocols do. Or perhaps the Unicode suggestion of... er... yea, one of the options shown on that page.

Gulik.

--
http://gulik.pbwiki.com/