[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ørgen Frøjk Kjærsgaard wrote:
<FONT COLOR="#737373">> Alan Kennedy wrote:</FONT>
<FONT COLOR="#737373">> > </FONT>
<FONT COLOR="#737373">> > <?xml version="1.0" encoding="iso-8859-1"?></FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> This does not change the fact that Expat outputs UTF-8. However, if the</FONT>
<FONT COLOR="#737373">> Expat parser hasn't been told to use iso-8859-1 as default encoding, it</FONT>
<FONT COLOR="#737373">> will assume UTF-8 input unless you state the encoding in the input as</FONT>
<FONT COLOR="#737373">> above.</FONT>
<FONT COLOR="#737373">> </FONT></pre>Yes, I have the encoding="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.<br>
<br>
-- <br>
Don Allingham<br>
donaldallingham@home.com </BODY>
</HTML>
--=-AotdqlOxl1oqQ3Q0ScLH--