
6 Feb
2012
6 Feb
'12
3:19 a.m.
On Sun, Feb 5, 2012 at 19:17, John Millikin
-------------------------------------------------------------------------- $ ~/ghc-7.0.4/bin/ghci Prelude> writeFile ".txt" "test" Prelude> readFile ".txt" "test" Prelude>
Sorry, that got a bit mangled in the email. Corrected version: -------------------------------------------------------------------------- $ ~/ghc-7.0.4/bin/ghci Prelude> writeFile "\xA3.txt" "test" Prelude> readFile "\xA3.txt" "test" Prelude> writeFile "\xEE\xBE\xA3.txt" "test 2" Prelude> readFile "\xEE\xBE\xA3.txt" "test 2" --------------------------------------------------------------------------