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/12/02 09:15:39 UTC
RE: document's encoding
Hi,
I looked at getActualEncoding() function and I'm not sure about it. I use
XMLSpy 4.0 for editing XML documents and for coding documents. When I use
XML document encoded with "ISO-8859-1" (Xerces could support this encoding
directly), getActualEncoding() function returns "UTF-8".
Good results I had only with UTF-8 and UTF-16 encoded documents - Xerces
even determines byte order.
Have you any experience with this function?
Regards, PETER.
-----Original Message-----
From: Gareth Reakes [mailto:gareth@decisionsoft.com]
Sent: Tuesday, November 26, 2002 11:14 AM
To: xerces-c-dev@xml.apache.org; petr.juza@tiscali.cz
Subject: Re: document's encoding
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
_______________________________________
Chcete vyhrat zajezd na Sri Lanku?
Zkuste stesti ve Velke zimni soutezi na http://zima.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,
I have never used the function.
sorry,
Gareth
On Mon, 2 Dec 2002, [ISO-8859-2] Petr Jùza wrote:
> Hi,
> I looked at getActualEncoding() function and I'm not sure about it. I use
> XMLSpy 4.0 for editing XML documents and for coding documents. When I use
> XML document encoded with "ISO-8859-1" (Xerces could support this encoding
> directly), getActualEncoding() function returns "UTF-8".
>
> Good results I had only with UTF-8 and UTF-16 encoded documents - Xerces
> even determines byte order.
>
> Have you any experience with this function?
>
> Regards, PETER.
>
> -----Original Message-----
> From: Gareth Reakes [mailto:gareth@decisionsoft.com]
> Sent: Tuesday, November 26, 2002 11:14 AM
> To: xerces-c-dev@xml.apache.org; petr.juza@tiscali.cz
> Subject: Re: document's encoding
>
> 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
>
>
>
>
>
> _______________________________________
> Chcete vyhrat zajezd na Sri Lanku?
> Zkuste stesti ve Velke zimni soutezi na http://zima.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
>
>
--
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