Proposal for a new I/O library design
Graham Klyne
GK@ninebynine.org
Tue, 29 Jul 2003 20:36:47 +0100
At 17:50 29/07/03 +0100, Simon Marlow wrote:
>John Meacham writes:
> > please can we figure out portable binary IO before worrying
> > about i18n?
>
>But I thought Ben's proposal included portable binary I/O?
>Input/OutputStreams do I/O in terms of Octets, not Chars. It's
>important to at least think about how text tranformations are layered on
>top of the binary I/O layer, because making a wrong decision could be
>costly in terms of performance later.
The W3C "charmod" document has some useful background for this kind of thing:
http://www.w3.org/TR/charmod/
(Which I think is in support of your point.)
#g
-------------------
Graham Klyne
<GK@NineByNine.org>
PGP: 0FAA 69FF C083 000B A2E9 A131 01B9 1C7A DBCA CB5E