[r6rs-discuss] Stateful codecs and inefficient transcoding
Chris Hanson
cph at csail.mit.edu
Tue Oct 31 02:07:42 EST 2006
Date: Tue, 31 Oct 2006 00:53:20 -0500
From: William D Clinger <will at ccs.neu.edu>
I am told that XML files can contain several different
encodings of text,
This isn't true. An XML file has exactly one text encoding, specified
at the beginning of the file, by a combination of the XML declaration
and an optional BOM for UTF-16/32 encodings.
An XML document may refer to one or more external parsed entities, and
those entities may use different encodings. But an external parsed
entity is _not_ part of the same byte stream as the referring
document.
More information about the r6rs-discuss
mailing list