Re: [xslt] It seems to be standard question... Leave entites intact



On Sat, Nov 22, 2003 at 02:06:15PM +0100, Peter Jacobi wrote:
> Hi Lev,
> 
> > [...] But if output is
> > UTF-8 (and I need it for Russian version of my site), they are
> > replaced with true UNICODE characters. And it doesn't work, for
> > example, in <title></title>. I mean, that:
> > 
> > <?xml version="1.0" encoding="utf-8"?>
> [...]
> 
> The XML declaration doesn't do so well in current (let alone
> old) browsers. E.g. IE is switched into quirks mode etc.
> 
> Put the charset info in good old-fashioned HTML meta and
> everything works fine, see test page:

  XHMTL serialization by libxml2 sets the meta tags automatically

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]