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



Is it possible that the xml encoding declaration is being
overridden by the http ContentType charset ?  According
to RFC 3023, it takes precedence over the document's xml
declaration.



On Sat, 22 Nov 2003, 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:
>
> http://www.jodelpeter.de/ttt.htm
>
> Best Rergards,
> Peter Jacobi
> Hamburg, Germany
>
>
>
>
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt@gnome.org
> http://mail.gnome.org/mailman/listinfo/xslt
>



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