durusmail: quixote-users: Default page encoding?
Default page encoding?
2005-01-26
Default page encoding?
Oleg Broytmann
2005-01-29
On Sat, Jan 29, 2005 at 12:39:57PM -0500, Neil Schemenauer wrote:
> On Sat, Jan 29, 2005 at 02:16:08PM +0300, Oleg Broytmann wrote:
> > Browsers behave badly (and every browser behaves badly in its own way)
> > if you set a charset on text/css responses.
>
> Not setting a charset should be equivalent to using iso-8859-1.  Are

   iso-8859-1? Not "ascii"?

> you saying that setting charset to iso-8859-1 causes a problem too
> or just other charsets?

   I haven't tried. But setting "Content-Type: text/css; charset=koi8-r"
make Mozilla and M$IE apply stylesheets in funny ways. I spent many
hours trying to find why only part of my stylesheets are applied
(different parts in differetn browsers) and found that was due to
non-ascii charset. Returnin "Content-Type: text/css" without a charset
restores normal behaviour - stylesheets were applied as expected.

Oleg.
--
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

reply