Skip to main content.
home | support | download

Back to List Archive

Re: Iso 8859-2 chars and HTML2 parser problem

From: Krzysztof Rudnik <K.Rudnik(at)>
Date: Fri Sep 13 2002 - 14:20:40 GMT
On Friday 13 September 2002 16:02, you wrote:
> On Fri, 13 Sep 2002, Krzysztof Rudnik wrote:
> > Hi all,
> >
> > I've just found the following unpredictible/strange/buggy  behavior of
> > HTM2 parser when parsing iso-8859-2 documents
> HTML2 uses libxml2 which encodes internally in UTF-8.  Swish converts
> UTF-8 into iso-8859-1 only at this time.  The plan is to move to iconv()
> soon so you can specify the output encoding.
Ok but why does it work fine  when the <head> contains 
<meta http-equiv="content-type" content="text/html"> instead of 
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">

The conversion is performed only if  ...; charset=iso-8859-2">
is present, isn't it.
Krzysztof Rudnik
Received on Fri Sep 13 14:24:12 2002