[LUGOS] apache 1.3 problem s sumniki

Aljoša Španger alo at email.si
Mon Dec 22 12:56:15 CET 2003


Zivijo,
sedaj pa me se zanima, ce dodam v httpd.conf

 > Content-Type: text/html; charset=iso-8859-2 <

a bo potem apache prav  serviral mojo stran .

Se pravi v srednje evropskem kodnem zapisu.

To je izpis iz  httpd.conf

 >>>
# Default charset to iso-8859-1 (ttp://www.apache.org/info/css-security/).

AddDefaultCharset on

<<<

Hvala za odgovore

LP

Al

Miha Remec wrote:

>>Tvoj spletni streznik je nastavljen (glej httpd.conf), da poslje HTTP
>>odgovor v kodni strani iso-8859-1:
>>Content-Type: text/html; charset=iso-8859-1
>>
>>Ti sicer imas v dokumentu kasneje HTML znacko za iso-8859-2:
>><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
>>
>>Po HTML 4 standardu (http://www.w3.org/TR/REC-html40/charset.html, tocka
>>5.2.2 Specifying the character encoding) so dolocene naslednje prioritete:
>>
>>"To sum up, conforming user agents must observe the following priorities
>>when determining a document's character encoding (from highest priority to
>>lowest):
>>1. An HTTP "charset" parameter in a "Content-Type" field.
>>2. A META declaration with "http-equiv" set to "Content-Type" and a value
>>set for "charset".
>>3. The charset attribute set on an element that designates an external
>>resource."
>>
>>Rekel bi, da en program uposteva HTML standard, drugi pa ne.
>>
>>--
>>lp, Miha-R
>>
>>    
>>




More information about the lugos-list mailing list