[Hugs] #87: Strange writeFile behaviour
Hugs
trac at galois.com
Fri Nov 28 05:50:28 EST 2008
#87: Strange writeFile behaviour
---------------------+------------------------------------------------------
Reporter: guest | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: hugs | Version: 200609
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by ross):
Character I/O in Hugs uses the encoding specified by the current locale.
If chr 128 is being mapped to two bytes, your locale is probably
specifying UTF-8. You can set your locale (LC_CTYPE) to use ISO8859-1 if
desired. If you want binary output, use writeBinaryFile.
--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/87#comment:1>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
More information about the Hugs-Bugs
mailing list