[linux] apache a slovencina
Juraj Bednar
juraj na bednar.sk
Středa Duben 18 19:19:45 CEST 2001
Ahoj,
> v subore srm.conf je direktiva: AddDefaultCharset
> defaultne je nastavena na on a AddDefaultCharsetName je nastavene na iso-8859-1
> staci on prepisat na off
akurat podla standardu HTTP/1.1
The "charset" parameter is used with some media types to define the
character set (section 3.4) of the data. When no explicit charset
parameter is provided by the sender, media subtypes of the "text"
type are defined to have a default charset value of "ISO-8859-1" when
received via HTTP. Data in character sets other than "ISO-8859-1" or
its subsets MUST be labeled with an appropriate charset value.
Some HTTP/1.0 software has interpreted a Content-Type header without
charset parameter incorrectly to mean "recipient should guess."
Senders wishing to defeat this behavior MAY include a charset
parameter even when the charset is ISO-8859-1 and SHOULD do so when
it is known that it will not confuse the recipient.
Unfortunately, some older HTTP/1.0 clients did not deal properly with
an explicit charset parameter. HTTP/1.1 recipients MUST respect the
charset label provided by the sender; and those user agents that have
a provision to "guess" a charset MUST use the charset from the
content-type field if they support that charset, rather than the
recipient's preference, when initially displaying a document.
To znamena, ze pekne treba vratit to AddDefaultCharset a dat tam
iso-8859-2 pripadne windows-1250, ak to nie je v kodovani HTTP/1.1, inac
server odporuje standardu protokolu HTTP/1.1 (RFC2616).
Juraj.
Další informace o konferenci linux