You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lisa van Gelder <li...@wirestation.co.uk> on 2000/08/11 19:46:29 UTC
random character
Hello cocoon peeps.
I've got a stylesheet that converts html - xml which is producing an odd
character: Â When cocoon meets this character it starts giving me
errors about not closing tags properly.
1) why does  cause errors? It is a numeric entity, and I thought
cocoon could cope with those.
2) where does  come from?
I think it has something to do with My html file is run through HTML
Tidy which converts all to its numeric equivalent,   The html
file is then run through a stylesheet to convert it into xml.
But in front of every   in my xml file there is a Â
example:
<p> </p> <--- html tidy output
becomes <p> </p> <!-- final xml output
Has anybody else run into this, and how have they dealt with it?
Any suggestions?
thanks
Lisa
Re: random character
Posted by sudhi <su...@insage.com>.
Whats the encoding u have ?
Try changing it to ISO-8859-1.
Berin Loritsch wrote:
>
> Lisa van Gelder wrote:
> >
> > Hello cocoon peeps.
> >
> > I've got a stylesheet that converts html - xml which is producing an odd
> > character: Â When cocoon meets this character it starts giving me
> > errors about not closing tags properly.
> >
> > 1) why does  cause errors? It is a numeric entity, and I thought
> > cocoon could cope with those.
> >
> > 2) where does  come from?
> >
> > I think it has something to do with My html file is run through HTML
> > Tidy which converts all to its numeric equivalent,   The html
> > file is then run through a stylesheet to convert it into xml.
> >
> > But in front of every   in my xml file there is a Â
> >
> > example:
> >
> > <p> </p> <--- html tidy output
> >
> > becomes <p> </p> <!-- final xml output
> >
> > Has anybody else run into this, and how have they dealt with it?
>
> Â is a capital 'A' with an carret '^' on top. Why it is converting
> it in that manner, I don't know.
>
> I am familiar with automatic conversion of ampersands('&'), and the open and
> close carets ('<' and '>').
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
Re: random character
Posted by Berin Loritsch <bl...@infoplanning.com>.
Lisa van Gelder wrote:
>
> Hello cocoon peeps.
>
> I've got a stylesheet that converts html - xml which is producing an odd
> character: Â When cocoon meets this character it starts giving me
> errors about not closing tags properly.
>
> 1) why does  cause errors? It is a numeric entity, and I thought
> cocoon could cope with those.
>
> 2) where does  come from?
>
> I think it has something to do with My html file is run through HTML
> Tidy which converts all to its numeric equivalent,   The html
> file is then run through a stylesheet to convert it into xml.
>
> But in front of every   in my xml file there is a Â
>
> example:
>
> <p> </p> <--- html tidy output
>
> becomes <p> </p> <!-- final xml output
>
> Has anybody else run into this, and how have they dealt with it?
 is a capital 'A' with an carret '^' on top. Why it is converting
it in that manner, I don't know.
I am familiar with automatic conversion of ampersands('&'), and the open and
close carets ('<' and '>').