OT: patecni neuveritelnost...
Petr Tomasek
tomasek@etf.cuni.cz
Sobota Únor 18 21:08:44 CET 2006
On Sat, Feb 18, 2006 at 06:02:23PM +0100, Marek Pavlu wrote:
> Zdravim,
>
> Horlavej lisak, respektive FireFox mi to precetl v poradku, to same IE...
> Takze asi něco shnileho na Vasi strane:)...
>
> S pozdravem,
> Marek Pavlu
$ curl -D header http://www.clexpert.cz/zakaznik1.txt &> /dev/null
$ grep Content-Type header
Content-Type: text/plain
^^^^^^^^^^^^^^^
Muzete mi rict, kde tam najdete, ze je soubor kodovany ve windows-1250?
Viz RFC http://www.faqs.org/rfcs/rfc2616.html, sekce 3.7.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. See
^^^^
section 3.4.1 for compatibility problems.
P.T.
--
Petr Tomasek <http://www.etf.cuni.cz/~tomasek>
Další informace o konferenci Hw-list