[XML-SIG] problems reading iso-8859-1 data

Don Allingham donaldallingham@home.com
30 Apr 2001 07:16:34 -0600


--=-AotdqlOxl1oqQ3Q0ScLH
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 30 Apr 2001 11:41:50 +0200, J=F8rgen Fr=F8jk Kj=E6rsgaard wrote:
> Alan Kennedy wrote:
> >=20
> > <?xml version=3D"1.0" encoding=3D"iso-8859-1"?>
>=20
> This does not change the fact that Expat outputs UTF-8. However, if the
> Expat parser hasn't been told to use iso-8859-1 as default encoding, it
> will assume UTF-8 input unless you state the encoding in the input as
> above.
>=20

Yes, I have the encoding=3D"iso-8859-1" set the file.  It sounds as if
expat is converting the iso-8859-1 to UTF-8.  Is there a way to convert
back to iso-8859-1?  Unfortunately, I'm stuck with 1.5.2.

--=20
Don Allingham
donaldallingham@home.com=20

--=-AotdqlOxl1oqQ3Q0ScLH
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/0.9.3">
</HEAD>
<BODY><pre>On 30 Apr 2001 11:41:50 +0200, J&#248;rgen Fr&#248;jk Kj&#230;rsgaard wrote:
<FONT COLOR="#737373">&gt; Alan Kennedy wrote:</FONT>
<FONT COLOR="#737373">&gt; &gt; </FONT>
<FONT COLOR="#737373">&gt; &gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;</FONT>
<FONT COLOR="#737373">&gt; </FONT>
<FONT COLOR="#737373">&gt; This does not change the fact that Expat outputs UTF-8. However, if the</FONT>
<FONT COLOR="#737373">&gt; Expat parser hasn't been told to use iso-8859-1 as default encoding, it</FONT>
<FONT COLOR="#737373">&gt; will assume UTF-8 input unless you state the encoding in the input as</FONT>
<FONT COLOR="#737373">&gt; above.</FONT>
<FONT COLOR="#737373">&gt; </FONT></pre>Yes, I have the encoding=&quot;iso-8859-1&quot; set the file. &nbsp;It sounds as if expat is converting the iso-8859-1 to UTF-8. &nbsp;Is there a way to convert back to iso-8859-1? &nbsp;Unfortunately, I'm stuck with 1.5.2.<br>
<br>
-- <br>
Don Allingham<br>
donaldallingham@home.com </BODY>
</HTML>

--=-AotdqlOxl1oqQ3Q0ScLH--