CR LF Problem in Windows XP

Ron Teitelbaum Ron at USMedRec.com
Wed Apr 5 16:50:37 UTC 2006


Yoshiki,

Don't you think it should set this automatically for Windows systems?  The
method I would like to see is 'this/that' withCRs toFilename: 'test.txt'. 
Or (Array with: this with: that) toFilename: 'test.txt'.  It should set
#crlf automatically for windows systems.

Ron

> From: Yoshiki Ohshima
> Sent: Wednesday, April 05, 2006 11:58 AM
> 
>   Ron,
> 
> > I went back to see what I did.  I only set
> >
> > lineEndConvention: #crlf.
> >
> > But then saw the wantsLineEndConversion: wasn't set.  So I figured I was
> > doing it wrong.  Shouldn't this be automatic for each platform?
> 
>   Note that the instance creation methods of CrLfFileStream and
> FileStream both creates an instance of MultiByteFileStream with
> different initial setting.  When creating an instance through
> CrLfFileStream, it should set automatically, but through FileStream,
> it shouldn't.
> 
> -- Yoshiki
> 





More information about the Squeak-dev mailing list