mod_czech pro Apache 2.0
Zdenek Pytela
letty na mrakoplas.phil.muni.cz
Pátek Říjen 4 15:05:07 CEST 2002
Michal Kara píše:
> Ja jsem si rikal, jestli mam napsat preportovat nebo prepsat :-) Ale neco
> by se pouzit mohlo. Mozna to prekodovavani, ale jestli ho ma stavajici
> mod_charset dobre, tak se muze pouzit on.
Proč se vlastně mluví jenom o mod_czech a ne i o mod_csacek?
Nebyl by ten na úpravu jednodušší?
> Browseru Accept-Charset? Spis Content-type, ne? A lze nyni Apache 2.0
> nastavit aby to kodovani uvadel u kazde odpovedi?
Lze. Ono to šlo i předtím, ale za cenu nestandardních zásahů.
#
# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisation
# of your web site, should you ever want it. Specifying it as
# a default does little harm; as the standard dictates that a page
# is in iso-8859-1 (latin1) unless specified otherwise i.e. you
# are merely stating the obvious. There are also some security
# reasons in browsers, related to javascript and URL parsing
# which encourage you to always set a default char set.
#
#AddDefaultCharset ISO-8859-1
AddDefaultCharset ISO-8859-2
--
--Zdeněk Pytela, <letty na mrakoplas.phil.muni.cz>
Další informace o konferenci Linux