[[project @ 2003-06-06 12:35:19 by simonpj] simonpj**20030606123519 Add a note about ^Z on Win32 ] { hunk ./ghc/docs/users_guide/win32-dlls.sgml 49 + +Differences in library behaviour + + +Some of the standard Haskell libraries behave slightly differently on Windows. + + + +On Windows, the '^Z' character is interpreted as end-of-file, so +if you read a file containing this character the file will appear to end just before it. +To subvert this behaviour, you can put the file into Binary +mode using GHC.Handle.hSetBinaryMode. (unfortunately this +function isn't available form anywhere more stable, yet). + + + + + + + }