How can I Change the charset?

Arnaldo Bento arnaldo_bento at clix.pt
Sun Mar 13 15:06:21 UTC 2005


Hello 

Because nobody answered to the previous topic on 
this subject I decided to create a new with new heading.



How can I set the Fedora or web server to use the
charset=iso-8859-1  ?
 
- Can I edit the /etc/httpd/conf/httpd.conf and change "AddDefaultCharset"
to that value?
- Are there another way to do that?
- Or I must change it in the windows computers?

Thanks in advance.

Arnaldo Bento

Message: 2
Date: Sat, 12 Mar 2005 00:56:43 +0100
From: Alexander Dalloz <ad+lists at uni-x.org>
Subject: Re: Out  of topic or maybe nott?!
To: For users of Fedora Core releases <fedora-list at redhat.com>
Message-ID: <1110585403.5709.222.camel at serendipity.dogma.lan>
Content-Type: text/plain; charset="iso-8859-15"

Am Fr, den 11.03.2005 schrieb Arnaldo Bento um 23:36:

> Please don't send HTML formatted mail to the list. Thank you.

> I use the fedora Core 3 and apache web server 2.0. The fedora was 
> install in English with Portuguese keyboard.

> I created a web page using several programs and when I see the page in 
> the computer where everything was made or in another computer with any 
> windows version  it work as it must be. (I use windows in English 
> version).

> After copying my page to my server all the Portuguese characters had 
> disappeared and had been replaced by commas and points.

> How can I have the correct  Portuguese characters in the server?

By default Apache on Fedora Core serves website with UTF-8 charset. 
If the files are created with a different charset you get displayed 
not what you want. Either create and edit the files on the Windows. 
host too with UTF-8 charset or change the setting on the Fedora Apache 
server host.

$ grep -n "AddDefaultCharset" /etc/httpd/conf/httpd.conf

will tell you the line the charset is defined.

> Arnaldo

Alexander




More information about the fedora-list mailing list