![]() Нарисовал Тёма Лебедев. |
I run Apache HTTPD on this site, you can check its status to see its work in progress.
To specify character set for your KOI8-R documents
you can add
"text/html; charset=koi8-r" html8
mime.types
, then the server will put a proper
Content-Type
field for all your KOI8-R documents ended with
.html8
. Also, in this example the server will put a proper
Content-Type
field for all your MS-Windows documents ended with
.htmlw
.
As an alternative, you can add
AddType "text/html; charset=koi8-r" .html8
srm.conf
or
local .htaccess
with same effect.
The server is bound to use charset=
parameter; if document character set is not
listed in Accept-Charset
,
the server should respond with the 406
(none acceptable) status code.
<HEAD>
and <BODY>
attributes.
Also IMHO on-the-fly character set conversion is unnecessary for Russian language (KOI8-R must be only one Net character set as already happens with E-mail and News), I put here some references for it too:
.var
files.
WARNING: old versions of this server (PL14 and lower) are broken for
Lynx
browser (which is one of the most internationalized browsers now), to fix it
remove lynx
from following Kryukov's httpd.conf
line:
BadAgent lynx arena DosLynx MSIEand report this bug to Alex Tutubalin.
![]() |