[xslt] IE Mac / Encoding

By default, libxslt outputs the encoding meta tag as

<meta content="text/html; charset=UTF-8"

But it seems that IE for Mac does not switch to UTF-8
when encountering this tag.

Changing it to

<meta http-equiv="Content-Type" content="text/html;

(i.e., the http-equiv attribute placed before the
content attribute)
makes the trick.

Is that an IE Mac problem or is the HTML specification
enforcing this order (in general the order does not
matter but all the examples provided in the HTML 4.0
specification put the http-equiv parameter first) ...
in any case it would be nice to output the second form
by default...


Chief Scientist
Vivisimo, Inc

PS: check our newly redesigned site
http://vivisimo.com whose static pages have been all
created using libxslt, which, in particular, cross
check all the links and automatically creates the left
Thanks for this great library!

Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free

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