OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

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

Document encodings



A quick question:

How do parsers work out what encoding an XML document is in 
(i.e. how is it able to read the 'encoding' attribute of the 
declaration)?

I'm guessing that all the encodings XML supports have a common 
'root' so the XML declaration can always be read using the 'base' 
character set. Is this correct or am I way off the mark?

Many thanks,

Phil Ruelle