httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Special chars question
Date Thu, 02 Dec 2004 16:41:18 GMT
On Thu, 2 Dec 2004 16:16:41 -0000,
<> wrote:
> i have recently migrated a site from Apache 1.3.?? / PHP 4.3.2 / MySQL
> 3.23.54 to a RHEL3 box running Apache 2.0.46 / PHP 4.3.2 / MySQL 3.23.58. i
> have started having problems with HTML entities which i did not have on the
> old box. now the versions of PHP and MySQL are very close so i'm assuming
> there is something in the Apache config which is changing this.
> basically, i'm reading text from the database which contains characters in
> their pure form (£) as opposed to HTML entities (&pound;). on the old
> machine, this would be displayed fine. on the new machine, they are
> displayed as a question mark.
> is this a simple change to my conf files?
> i know that technically, i should convert all special characters to HTML
> entities but there are a thousand places in my scripts where text from a DB
> is displayed and i was hoping to make the change via the conf files.

Check the AddDefaultCharset directive in httpd.conf.  It was probably
set to iso-8859-1 on your old box.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message