Problem reading files...

Sven Panne Sven.Panne@informatik.uni-muenchen.de
Mon, 12 Feb 2001 22:52:16 +0100


> Andre W B Furtado wrote:
> [ EOF at Ctrl-Z problem ]

Sounds like you're using WinDoze which interprets Ctrl-Z as EOF in
non-binary files IIRC (great idea, BTW! :-}. Alas, you have to use
non-standard features (openFileEx or hSetBinaryMode) to get around
this, see:

   http://www.haskell.org/ghc/docs/latest/set/sec-ioexts.html#AEN8657

Cheers,
   Sven