[CentOS] RE: OT: Problems with Pound Signs and Apache

Fri Oct 20 13:34:56 UTC 2006
Rex Dieter <rdieter at math.unl.edu>

Mike Kercher wrote:


>> On the other, the Pound sign displays correctly.
...
>> Both servers are running the same version of Apache, and for
>> that matter the same version of everything else, and all
>> updates are applied.
>> Would anyone have any ideas where to start looking to track
>> down this discrepancy?

> Try changing AddDefaultCharset UTF-8 to AddDefaultCharset iso-8859-1 in
> /etc/httpd/conf/httpd.conf

We had similar problems, and our best solution was to remove
the "AddDefaultCharset" config option altogether.  This allows individual
pages to specify their own encoding using meta tags:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
and browsers to properly auto detect charsets on pages that fail to
explicity set them.

-- Rex