[XML-SIG] Re: [I18n-sig] Mixed encodings and XML

Lars Marius Garshol larsga@garshol.priv.no
14 Dec 2000 11:03:11 +0100


* uche ogbuji
| 
| 1.  Is there any way to convince an XML parser to work with source
| with mixed encoding.

A single XML entity must be entirely in a single character encoding.
A document, however, can be in any number of different encodings,
provided each entity is internally consistent.  You can have encoding
declarations on both the document entity (in the form of the XML
declaration) and on subordinate entities (using text declarations).

So you can do what you want using entities.
 
--Lars M.