[Typo3-dev] Character set inquery

Andreas Otto andreas at php4win.de
Wed Sep 10 14:57:24 CEST 2003


Hi Sascha,

On Tuesday 09 September 2003 07:54, Sacha Vorbeck wrote:
> Common web browsers implement this to some extend. I am not aware of any
> browser where the <meta> element takes precedence over the encoding
> specified in the HTTP header. If there is, it is broken and it is likely
> that a number of web sites break in this browser.
...
> If you cannot modify the HTTP header as in the example above, this is a
> documentation issue, you cannot do anything about it; the HTTP header
> always takes precedence and if the web server is configured to default
> to say ISO-8859-1 the document cannot use any other character encoding
> without modifying the web server configuration.

I have prepared three small HTML pages:
<http://www.php4win.com/charset-8859-1.html>
<http://www.php4win.com/charset-8859-15.html>
<http://www.php4win.com/charset-us-ascii.html>

The webserver sends the header ISO-8859-1 as is default with Apache 1.3.

But regardless what the webserver's charset setting is the Meta Tag takes 
precedence. According to your quote this should not happen.


Cheers,
Andreas

-- 
Andreas Otto <andreas at php4win.de>
Using PHP on Windows? www.php4win.de






More information about the TYPO3-dev mailing list