Loading
Webhosting in Austria, Germany, France and UK; domain names, dedicated server, serverhousing, rackspace, zimbra, SMS notification services, video streaming
Home > Webhosting > FAQ > Web pages with different character sets...
from Austria, Switzerland
Support: 0800-77684337
from Germany, Netherlands
Support: 00800-73447837
Domainchecker
www..
Find EDIS on Facebook

Web pages with different character sets ISO-8859-1 vs UTF-8

At EDIS all web servers are configured with the Charset ISO-8859-1 (default).

AddDefaultCharset ISO-8859-1

You can switch on and off the DefaultCharset yourself by means of the ".htaccess" file. The new settings apply for the current and all subordinate directories.

With the support of the directive AddDefaultCharset it is controlled whether Apache is to add character set information to content-type-header of HTTP answers that they have not obtained by any other mechanism during enquiry processing.

If you activate this feature, the header content type is extended according to the following pattern:
Content-Type: text/html
is, for instance, going to become to
content type: text/html; charset=iso-8859-1

You can set three different values:

- Off: No character set is added to the header if there is no one available yet.

- On: Apache adds its standard programmed iso-8859-1 character set. This character set is suited for English, German and almost any other European languages.

- Name of the character set: You can explicitly state the requested character set. Examples: iso-8859-5 (ASCII + Cyrillic) or utf-8 (ASCII-down compatible Unicode-encoding).


With this line the DefaultCharset is deactived.
AddDefaultCharset off

With this line the DefaultCharset is switched to utf-8
AddDefaultCharset utf-8


#########################################
++++++++++++++++++++++++++++++++++++++
Since most browsers do not update or read out the DefaultCharset anew, you have to shut down your browser completely before the amendments can be effective!
+++++++++++++++++++++++++++++++++++
#################################