{"id":222,"date":"2006-07-17T07:39:27","date_gmt":"2006-07-17T07:39:27","guid":{"rendered":"http:\/\/neosmart.net\/blog\/archives\/222"},"modified":"2013-08-26T18:10:15","modified_gmt":"2013-08-26T23:10:15","slug":"expression-web-designer-and-internet-explorer-think-again","status":"publish","type":"post","link":"https:\/\/neosmart.net\/blog\/expression-web-designer-and-internet-explorer-think-again\/","title":{"rendered":"Expression Web Designer and Internet Explorer? Think Again!"},"content":{"rendered":"<p>Yeah, you read that right. To re-iterate: if you want to code a site and expect it to load even semi-reasonably in Internet Explorer 6 or 7, you probably don&#8217;t want to write it or even <em>touch<\/em> it in <a href=\"https:\/\/neosmart.net\/blog\/microsoft-expression-web-designer-ctp-1\/\" rel=\"follow\">Microsoft&rsquo;s Expression Web Designer<\/a>. At any rate, not this version of Expression.<\/p>\n<p>Expression Web Designer is very Web 2.0 compatible. It&rsquo;s the only really big HTML interface that validates <em>directly<\/em> against the W3C standards, by default checking page-display compatiblity against CSS 2.1, instead of against FF, IE6, or something. It does a very good job at that too, but unfortunately, it&rsquo;s far ahead of Microsoft&rsquo;s time.<\/p>\n<p><!--more--><\/p>\n<p>When you write a page in &ldquo;UTF-8&rdquo; encoding, Expression Web Designer sometimes takes it to its head to write something called the <abbr title=\"Byte-Order Mark\">BOM<\/abbr>, which is a tiny, little, useless unicode character inserted into the code to prove something.<\/p>\n<p>The only problem is, Internet Explorer 6 &amp; 7 both fall under W3C&rsquo;s so-called &lsquo;older browsers&rsquo; list, and hence, don&rsquo;t support the BOM at all. What you end up with is Internet Explorer incorrectly displaying php\/ssi includes, and a bunch of unexpected HTML display errors will crop up in Internet Explorer but not any of the other browsers.<\/p>\n<p>The code with such includes is exactly the same as if it <em>wasn&rsquo;t<\/em> pieced together server-side, but <a href=\"http:\/\/www.neowin.net\/forum\/topic\/479327-php-includes-with-ie-doesnt-make-sense\/\" rel=\"follow\">for the presence<\/a> of this BOM character that skews the code to hell. If you have some weird errors when dealing with server-side includes in Internet Explorer that don&rsquo;t show up in any other browser on any other platform &ndash; this is your man.<\/p>\n<p>To fix it you have to manually open all pages &lsquo;pieced-together&rsquo; by php or whatever SSI you use in Notepad, and then proceed to save them as &ldquo;ANSI&rdquo; files instead of unicode.. Then get back to work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yeah, you read that right. To re-iterate: if you want to code a site and expect it to load even semi-reasonably in Internet Explorer 6 or 7, you probably don&#8217;t want to write it or even touch it in Microsoft&rsquo;s &hellip; <a href=\"https:\/\/neosmart.net\/blog\/expression-web-designer-and-internet-explorer-think-again\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[56,69],"class_list":["post-222","post","type-post","status-publish","format-standard","hentry","category-software","tag-bugs","tag-expression-web-designer"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4xDa-3A","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":2,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"predecessor-version":[{"id":2022,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions\/2022"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/categories?post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/tags?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}