The mystery of the utf8 question mark.
While on a blog maintenance binge, I've again come up against the issue with Unicode utf-8 characters on this site. For example, over on the right of these blog postings on the main page there exists a calendar. For those cells in the calendar's grid for which no day occurs, the utf8 character
0xA0 is used. Apparently this should appear as a dagger, but both Safari and Firefox render it as a question mark. Here's what I found:
This utf8 table also has a
A0 character, which is rendered correctly (as a dagger).
The header of this site's index page looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
The header of the working site's page looks like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=x-mac-roman">
The HTTP header sent by this server looks like this:
HTTP/1.1 200 OK Date: Thu, 01 Jun 2006 16:57:26 GMT Server: Apache Last-Modified: Thu, 01 Jun 2006 16:42:33 GMT ETag: "5f1785-4ae6-447f18f9" Accept-Ranges: bytes Content-Length: 19174 Content-Type: text/html
The HTTP header sent by the working server looks like this:
HTTP/1.1 200 OK Date: Thu, 01 Jun 2006 17:01:08 GMT Server: Apache/2.0.53 (Unix) Last-Modified: Sat, 28 Dec 2002 09:58:46 GMT ETag: "9f3d8-662e-e348a180" Accept-Ranges: bytes Content-Length: 26158 Content-Type: text/html
In both cases the HTML table cell has only one byte, which in hexadecimal is
In short, I'll be stuffed why one page is rendered correctly, and one is not.