2009/6/29 Ed Murphy <emurph...@socal.rr.com>:
> I figured out how to get this into the database, but why does
> http://zenith.homelinux.net/cotc/status.php (newly modified to
> specify charset=utf-8 rather than charset=iso-8859-1) render it
> incorrectly by default?

Your HTTP server is sending a Content-Type header that's overriding
the specification in the page itself. You'll have to either fix that
or recode that schwa in ISO-8859-1 or entities. Here are the headers,
since I think they look cool:

GET /cotc/status.php HTTP/1.1
host: zenith.homelinux.net

HTTP/1.1 200 OK
Date: Mon, 29 Jun 2009 08:03:36 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Accept-Ranges: bytes
X-Powered-By: PHP/4.2.2
Pragma: no-cache
Cache-control: no-cache
Expires: Mon, 29 Jun 2009 01:03:42 -0700
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1

--Warrigal
"David slowed his pace slightly as his ears, bottled in formaldehyde,
caught his eye. 'Oh,' he thought, 'to be alive again.'"

Reply via email to