[Home] [By Thread] [By Date] [Recent Entries]


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)              jcowan@r...

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member