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

  • From: John Cowan <jcowan@r...>
  • To: David Megginson <david@m...>
  • Date: Mon, 12 Mar 2001 10:25:44 -0500

David Megginson wrote:


> 1. With a Java character stream, there's no way to know what the
> original encoding might have been, so the encoding declaration is
> moot.

Yes.
 
> 2. A Java character stream is presented (more-or-less) in UTF-16, so
> the encoding declaration, if present, should agree with that.

No.  That would require you, if preprocessing the byte stream
into a character stream in accordance with the encoding, to change
that same encoding in the process, quia absurdum.


-- 
There is / one art             || John Cowan <jcowan@r...>
no more / no less              || http://www.reutershealth.com
to do / all things             || http://www.ccil.org/~cowan
with art- / lessness           \\ -- Piet Hein


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