minad / olelo

Wiki with git backend
MIT License
241 stars 44 forks source link

IE7 does not detect UTF-8 encoding #67

Closed bver closed 11 years ago

bver commented 12 years ago

IE7 (and probably more IE versions) fails to correctly process the "Content-Type: application/xhtml+xml;charset=utf-8" http response header.

A quick workaround is to add

meta http-equiv="content-type" content="text/html; charset=UTF-8" 

into the "head" of views/layout.slim -- but it certainly is not a correct solution for other well-behaving browsers.

Not sure if this issue is something to do with: https://github.com/stonean/slim/issues/166

minad commented 12 years ago

Ops, I thought you blame slim for this one. This is not the fault of the slim. Maybe the content type is not supported by IE7.

bver commented 12 years ago

Not blaming slim, quite the opposite - it has helped to write a workaround for this issue. :)

Is there any special reason to use "application/xhtml+xml" mime in Olelo? IE users unfortunately are a big camp to ignore.

bver commented 12 years ago

Sorry, changed my mind: Damn IEs, targeting the future without compromises is a better strategy. :-)

minad commented 11 years ago

fixed