[Haskell-cafe] invalid character encoding

David Roundy droundy at abridgegame.org
Sat Mar 19 07:09:40 EST 2005

On Sat, Mar 19, 2005 at 12:55:54PM +0100, Marcin 'Qrczak' Kowalczyk wrote:
> Glynn Clements <glynn at gclements.plus.com> writes:
> > The point is that a single program often generates multiple streams of
> > text, possibly for different "audiences" (e.g. humans and machines).
> > Different streams may require different conventions (encodings,
> > numeric formats, collating orders), but may use the same functions.
> A single program has a single stdout and a single filesystem. The
> contexts which use the locale encoding don't need multiple encodings.

That's not true, there could be many filesystems, each of which uses a
different encoding for the filenames.  In the case of removable media, this
scenario isn't even unlikely.
David Roundy

More information about the Haskell-Cafe mailing list