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.

        /r$

-- 
Rich Salz                  Chief Security Architect
DataPower Technology       http://www.datapower.com
XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html
XML Security Overview      http://www.datapower.com/xmldev/xmlsecurity.html




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