Marco.org

I’m : a programmer, writer, podcaster, geek, and coffee enthusiast.

Firefox 3 has a very strange text-encoding bug.

It rendered the substring o/ as ø, even though no character set was defined anywhere. Here’s the entire HTTP response:

HTTP/1.1 200 OK
Date: Tue, 17 Jun 2008 20:26:17 GMT
Content-Length: 128
Content-Type: text/html


Fatal error: Call to a member function whatever() on a non-object in /Users/marco/davidville/tumblr/lib/whatever.php on line 32

The Page Info dialog reports that Firefox is rendering in Quirks Mode and assuming the ISO-8859-1 encoding.

Looks like it’s mistakenly rendering composite glyphs.