CentOS (RHEL) apache encoding

This is a discussion on CentOS (RHEL) apache encoding within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi folks, somewhat of a new boy to this webserver lark but.. In a new installation of CentOS (httpd-2....


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2007
mrbumpy
 
Posts: n/a
Default CentOS (RHEL) apache encoding

Hi folks,
somewhat of a new boy to this webserver lark but..

In a new installation of CentOS (httpd-2.0.52-28.ent.centos4), the
default encoding in httpd.conf is
AddDefaultCharset UTF-8

We are a small UK based hosting company, customers are having problems
with odd character being displayed on their websites whenever they use
the UK pound sterling sign £ and a few others.

A colleage changed the httpd.conf line to
AddDefaultCharset BS_4730

This solved the immediate problem but caused some W3C validation
problems and broke an XMLHttpRequest() issue in explorer with some
sites.

I changed the value to
AddDefaultCharset ISO-8859-1
This solved the UK pound sign problem and the W3C validation problem
(unless the customer's web page specifically stated <?xml
version="1.0" encoding="UTF-8"?> Then it broke validation AND odd
character issues)

As you can guess, we are fumbling around in the dark here.

If it helps..... pstree on the local vc looks fine, but from a windows
machine using an ssh client the line drawing characters are a mess. I
have tried pstree -U and pstree -G, they just cause a different mess.

I would love to think that the problems are related and one simple
locale option - or similar - will solve all of these , but I'm out of
ideas.

Any help would be greatly appreciated.
Cheers
Andy

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0