Bug 88964

Summary: AddDefaultCharset has wrong default value
Product: [Retired] Red Hat Linux Reporter: Noa Resare <noa>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.0.45-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-09 08:15:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Noa Resare 2003-04-15 19:48:12 UTC
Description of problem:

Apache as distributed in redhat 9 has the parameter AddDefaultCharset set to
iso-8859-1. This is strange because the system default charset is UTF-8, which
means that if I open a text/html or text/plain file with a text editor and add
some non-ascii characters they will appear broken to the client (except if I
rename the file .html.utf-8 or such) unless the file is first converted to
latin-1 by iconv or some other tool.

I'm all for having a AddDefaultCharset statement but please let it have thev
value UTF-8

Version-Release number of selected component (if applicable):
httpd-2.0.40-21.1

How reproducible:
always

Steps to Reproduce:
1. edit for example /var/www/error/noindex.html and add som non-ascii characters
using your favourite text editor

2. start up the httpd
3. access the page through any browser and watch your non-ascii characters
displayed wrong
4. Try to fix the problem the ususal way, by adding a meta tag or an xml
declaration with no luck and fail

Comment 1 Joe Orton 2003-04-16 15:35:36 UTC
Yes, thanks for reporting this.

Comment 2 Joe Orton 2003-05-18 19:00:16 UTC
UTF-8 is now the default charset in httpd-2.0.45-4.