You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Nacho <na...@siapi.es> on 2000/05/19 19:08:45 UTC
Encoding problem
Hi, all
I'm a newbie.
Why when i get a URL with this XML document :
-----------------------------cut here
<?xml version="1.0" encoding="ISO8859-1"?>
<?cocoon-format encoding="ISO8859-1" type="text/xml" ?>
<root>
<ROWSET>
<ROW ID="0">
<IdMenu>1</IdMenu>
<IdCliente>1</IdCliente>
<Parent>0</Parent>
<Text>HARDWARE</Text>
<Orden>1</Orden>
<IdFormato>6</IdFormato>
<Visible>0</Visible>
<Level>0</Level>
</ROW>
</rowset>
</root>
-----------------------------cut here
i Obtain this in ie5 , note that the encoding is not "ISO8859-1" .....
-----------------------------cut here
<?xml version="1.0" encoding="UTF-8"?>
<root>
<ROWSET>
<ROW ID="0">
<IdMenu>1</IdMenu>
<IdCliente>1</IdCliente>
<Parent>0</Parent>
<Text>HARDWARE</Text>
<Orden>1</Orden>
<IdFormato>6</IdFormato>
<Visible>0</Visible>
<Level>0</Level>
</ROW>
</rowset>
</root>
-----------------------------cut here
How i obtain a "ISO8859-1" encoding in the resulting XML document....
Saludos ,
Ignacio J. Ortega
Re: Encoding problem
Posted by Thomas Steinborn <th...@exceloncorp.com>.
I believe the encoding name is NOT "ISO8859-1" but "ISO-8859-1"
Try it
Thomas
Nacho wrote:
>
> Hi, all
>
> I'm a newbie.
>
> Why when i get a URL with this XML document :
>
> -----------------------------cut here
> <?xml version="1.0" encoding="ISO8859-1"?>
> <?cocoon-format encoding="ISO8859-1" type="text/xml" ?>
> <root>
> <ROWSET>
> <ROW ID="0">
> <IdMenu>1</IdMenu>
> <IdCliente>1</IdCliente>
> <Parent>0</Parent>
> <Text>HARDWARE</Text>
> <Orden>1</Orden>
> <IdFormato>6</IdFormato>
> <Visible>0</Visible>
> <Level>0</Level>
> </ROW>
> </rowset>
> </root>
> -----------------------------cut here
>
> i Obtain this in ie5 , note that the encoding is not "ISO8859-1" .....
>
> -----------------------------cut here
> <?xml version="1.0" encoding="UTF-8"?>
> <root>
> <ROWSET>
> <ROW ID="0">
> <IdMenu>1</IdMenu>
> <IdCliente>1</IdCliente>
> <Parent>0</Parent>
> <Text>HARDWARE</Text>
> <Orden>1</Orden>
> <IdFormato>6</IdFormato>
> <Visible>0</Visible>
> <Level>0</Level>
> </ROW>
> </rowset>
> </root>
> -----------------------------cut here