[CentOS] OT: Problems with Pound Signs and Apache

Fri Oct 20 13:07:35 UTC 2006
Mike Kercher <mike at vesol.com>

centos-bounces at centos.org <> scribbled on Friday, October 20, 2006 7:57
AM:

> Hi list,
> 
> I have 2 Centos 4 servers running the Horde system,
> apparently identical in configuration, but they are behaving
> differently...
> 
> On one, when emails containing a Pound Sign (£) are displayed
> it shows as £ (not sure if this will come through right, but
> it's a capital A with a 'hat' accent over it followed by the
> pound sign).
> 
> On the other, the Pound sign displays correctly.
> 
> I have copied the httpd.conf files over between servers and
> this has no effect. Looking at the page source both are en-gb
> and UTF8. It looks like the problem is not with Apache as the
> config files are identical.
> 
> 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?
> 
> Thanks!
> Andy.

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

This got rid of a bunch odd characters in some of my webpages.
Don't forget to restart httpd after making the change.

Mike