cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudhi <sudheen...@insage.com>
Subject Re: random character
Date Fri, 11 Aug 2000 19:12:02 GMT
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: &#194; When cocoon meets this character it starts giving me
> > errors about not closing tags properly.
> >
> > 1) why does &#194; cause errors? It is a numeric entity, and I thought
> > cocoon could cope with those.
> >
> > 2) where does &#194; come from?
> >
> > I think it has something to do with &nbsp;  My html file is run through HTML
> > Tidy which converts all &nbsp; to its numeric equivalent, &#160;  The html
> > file is then run through a stylesheet to convert it into xml.
> >
> > But in front of every &#160; in my xml file there is a &#194;
> >
> > example:
> >
> > <p>&#160;</p> <--- html tidy output
> >
> > becomes <p>&#194;&#160;</p> <!-- final xml output
> >
> > Has anybody else run into this, and how have they dealt with it?
> 
> &#194; 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

Mime
View raw message