CR LF Problem in Windows XP

Ron Teitelbaum Ron at USMedRec.com
Tue Apr 4 19:29:22 UTC 2006


All,

 

On WinXP  

Image: Squeak 3.8-6665

 

dir := FileDirectory default.

(fileStream := dir fileNamed: 'test.txt') ascii.

fileStream nextPutAll: 'a\b' withCRs.

fileStream flush; close.

 

I get in bytes in hex  61  OD  62.  I need   61  OA OD  62.

 

I wanted to make sure that this is a bug and not just me doing something
wrong.

 

Is there a proper way to get this to work?

 

Thanks,

 

Ron Teitelbaum

Ron at USMedRec.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060404/35dce920/attachment.htm


More information about the Squeak-dev mailing list