[xslt] IE Mac / Encoding
- From: Jerome Pesenti <jpesenti yahoo com>
- To: xslt gnome org
- Subject: [xslt] IE Mac / Encoding
- Date: Fri, 12 Jul 2002 06:07:50 -0700 (PDT)
By default, libxslt outputs the encoding meta tag as
follow
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
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;
charset=UTF-8">
(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...
Thanks,
Jerome
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
hierarchies.
Thanks for this great library!
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]