Re: [xml] How to determine document encoding

Doesn't this limit the efficacy and universality of XML?   You can't
count on
the sender actually putting the encoding where it belongs, or even
including one
at all.

Yes, it probably does.  Oh well.

XML is one of the better examples of trade-offs around.  One of the
trade-offs was character encoding; a given XML document cannot have
multiple encodings.  The encoding must be at the beginning, and if
it's omitted, then there are some well-defined ways to determine
what the encoding is.


Rich Salz                  Chief Security Architect
DataPower Technology
XS40 XML Security Gateway
XML Security Overview

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]