Skip to the Main Content

Note:These pages make extensive use of the latest XHTML and CSS Standards. They ought to look great in any standards-compliant modern browser. Unfortunately, they will probably look horrible in older browsers, like Netscape 4.x and IE 4.x. Moreover, many posts use MathML, which is, currently only supported in Mozilla. My best suggestion (and you will thank me when surfing an ever-increasing number of sites on the web which have been crafted to use the new standards) is to upgrade to the latest version of your browser. If that's not possible, consider moving to the Standards-compliant and open-source Mozilla browser.

August 20, 2008

Instiki + IE7

Somehow (doubtless, because I try to stay as far away from Windows as possible), it eluded my attention that there was a serious bug when viewing Instiki pages in IE7+MathPlayer. The problem doesn’t occur with IE8β+Mathplayer or, as best I can recall, with IE6+MathPlayer. But, with IE7, instead of displaying the page, it showed you the XML source tree instead.

The problem turns out to be involve the HTTP Content-Type header. If you send IE7+MathPlayer the header

Content-Type: application/xhtml+xml; charset=utf-8

you trigger the bug. If, instead, you omit the charset parameter,

Content-Type: application/xhtml+xml

all is well.

Getting Rails to omit the charset parameter turns out to be surprisingly difficult. If you want to see how to do it, search for “MathPlayer” in this file.

Technical details aside, the latest version of Instiki finally works with IE7+MathPlayer.

Thanks to Timm Wrase for reporting the problem (best of luck in Munich, Timm!), Neil Soiffer for confirming its origin, and Sam Ruby for working to ensure that Rails 2.2 will solve the problem in a less convoluted way.

Posted by distler at August 20, 2008 12:49 AM

TrackBack URL for this Entry:   https://golem.ph.utexas.edu/cgi-bin/MT-3.0/dxy-tb.fcgi/1768

1 Comment & 0 Trackbacks

Re: Instiki + IE7

ticket 869 opened.

Posted by: Sam Ruby on August 20, 2008 8:37 AM | Permalink | Reply to this

Post a New Comment