Glynn Clements [EMAIL PROTECTED] writes:
If you want text, well, tough; what comes out most system calls and
core library functions (not just read()) are bytes.
Which need to be interpreted by the program depending on where these
bytes come from.
They don't necessarily need to be
Glynn Clements [EMAIL PROTECTED] writes:
3. The default encoding is settable from Haskell, defaults to
ISO-8859-1.
Agreed.
So every haskell program that did more than just passing raw bytes
From stdin to stdout should decode the appropriate environment
variables, and set the encoding by
Glynn Clements [EMAIL PROTECTED] writes:
The RTS doesn't know the encoding. Assuming that the data will use the
locale's encoding will be wrong too often.
If the program wants to get bytes, it should get bytes explicitly, not
some sort of pseudo-Unicode String.
Like so many other people,
[EMAIL PROTECTED] writes:
Well... more seriously, does someone have got links to applications with
visible source?
The only one I know is darcs: http://abridgegame.org/darcs
Gabriel.
pgpuyQnbS1skj.pgp
Description: PGP signature
___