Re: [xml-dev] Postel's law, exceptions

From
John Cowan <>
To
Amelia A Lewis <>
Date
2004-01-14T13:25:45Z
ID
<>
Thread
Re: [xml-dev] Postel's law, exceptions
Amelia A Lewis scripsit:

> It was an interesting argument.  I found myself in the position of
> arguing that *all* character streams in Java have encodings (including
> java.lang.String).  The counter to this is a filter stream, such as a
> TeeWriter (I was arguing that the problem was that Java did not provide
> a getEncoding() method on all streams).

I think you have a hold of the right stick, but at the wrong end.
Byte streams have encodings if they represent text, but at the level of
character streams, encodings have been abstracted away.

-- 
Evolutionary psychology is the theory           John Cowan
that men are nothing but horn-dogs,             http://www.ccil.org/~cowan
and that women only want them for their money.  http://www.reutershealth.com
        --Susan McCarthy (adapted)