You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Petr Jůza <cz...@tiscali.cz> on 2002/11/22 10:30:58 UTC

document's encoding

Hi,
I would like to ask you about document's encoding? I founded getEncoding()function
of DOMDocument class that returns content of XML declaration.
Is there any other function that returns me real document's encoding? Xerces
has to check document's encoding by itself (Byte Order Mark etc.) and can't
rely only on XML declaration, hasn't it?

What about getActualEncoding() function?

Thank you in advance.
Regards PETER




____________________________________________________________________
Bude se opakovat válka o Prahu? Na čem se v matce měst domluví vládci světa?
Jak bude omezen život v Praze? Sledujte http://nato.tiscali.cz!




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: document's encoding

Posted by Gareth Reakes <ga...@decisionsoft.com>.
Hi,

> 
> What about getActualEncoding() function?

that does what you want.

Gareth

-- 
Gareth Reakes, Head of Product Development  
DecisionSoft Ltd.            http://www.decisionsoft.com
Office: +44 (0) 1865 203192



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org