removing charset information from http-headers

i have migrated a webserver to a new ubuntu server with apache 2.0.55
now i have a user who has thousands of html pages made with word with
all kind of quotation marks that show up like question marks.

after some rtfming and checking the http headers i found that apache
defines her pages as utf-8. the old server didn't send any charset
information in the http headers and the pages were shown just fine.
i found that i can make a .htaccess rule to change the default charset
but i don't know what charset her pages are in.

is there a way to not send any charset information at all? that used
to work fine on the old server.

regards,
janm
Jan Mannoury [ Di, 23 Oktober 2007 10:02 ] [ ID #1852289 ]

Re: removing charset information from http-headers

Jan Mannoury wrote:
> i have migrated a webserver to a new ubuntu server with apache 2.0.55
> now i have a user who has thousands of html pages made with word with
> all kind of quotation marks that show up like question marks.
>
> after some rtfming and checking the http headers i found that apache
> defines her pages as utf-8. the old server didn't send any charset
> information in the http headers and the pages were shown just fine.
> i found that i can make a .htaccess rule to change the default charset
> but i don't know what charset her pages are in.
>
> is there a way to not send any charset information at all? that used
> to work fine on the old server.
>
> regards,
> janm

Had the same issue - and thanks, as a result of your mail i've now
solved it !!

In httpd.conf i spoted the line

AddDefaultCharset UTF-8

Changing this to what I had in my previous config

AddDefaultCharset ISO-8859-1

restarted apache

and voila ... the problem went away

Regards
Steve
Steve Shaw [ Di, 23 Oktober 2007 23:26 ] [ ID #1852300 ]

Re: removing charset information from http-headers

On Tue, 23 Oct 2007 23:26:47 +0200, Steve Shaw <s.shaw [at] hccnet.nl>
wrote:

>Jan Mannoury wrote:
>> i have migrated a webserver to a new ubuntu server with apache 2.0.55
>> now i have a user who has thousands of html pages made with word with
>> all kind of quotation marks that show up like question marks.
>>
>> after some rtfming and checking the http headers i found that apache
>> defines her pages as utf-8. the old server didn't send any charset
>> information in the http headers and the pages were shown just fine.
>> i found that i can make a .htaccess rule to change the default charset
>> but i don't know what charset her pages are in.
>>
>> is there a way to not send any charset information at all? that used
>> to work fine on the old server.
>>
>> regards,
>> janm
>
>Had the same issue - and thanks, as a result of your mail i've now
>solved it !!
>
>In httpd.conf i spoted the line
>
>AddDefaultCharset UTF-8
>
>Changing this to what I had in my previous config
>
>AddDefaultCharset ISO-8859-1
>
>restarted apache
>
>and voila ... the problem went away

damn. why didn't i think of that. it works for me too. thanks. have a
nice day

janm
Jan Mannoury [ Di, 23 Oktober 2007 23:39 ] [ ID #1852301 ]
Webserver » alt.apache.configuration » removing charset information from http-headers

Vorheriges Thema: Apache Reject LIST (httpd.conf)
Nächstes Thema: apache 2.0.x will not serv perl/cgi scripts -> (OS 6)The handle is invalid