W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2007


From: Sierk Bornemann <sierkb@gmx.de>
Date: Wed, 27 Jun 2007 17:57:57 +0200
Message-Id: <056D5784-DB9B-4997-9CA6-85CD0E88E9A4@gmx.de>
Cc: Douglas Perreault <doug@perreault.us>
To: www-validator-css@w3.org

Am 27.06.2007 um 17:26 schrieb Andreas Prilop:

> On Wed, 27 Jun 2007, Douglas Perreault wrote:
>> In the meantime, here is a sample file exhibiting the problem:
>> http://dev.inbliss.info/UTF1.css
> | Content-Type: text/css;charset=ISO-8859-1
> | Server: Microsoft-IIS/6.0
> | MicrosoftOfficeWebServer: 5.0_Pub
> | X-Powered-By: ASP.NET
> Your server sends clearly
>    charset=ISO-8859-1
> The problem is with your broken Microsoft server.

I confirm that.

Maybe the document
.NET Framework General Reference
globalization Element (ASP.NET Settings Schema)

helps you to configure your webserver correctly.

Concerning your desire to individually configure the encoding instead  
of rely on the default encoding, the following section of http:// 
msdn2.microsoft.com/en-us/library/hy4kkhe0.aspx may be of interest  
for you:


Optional attribute.

Specifies the content encoding of responses.

The default encoding is UTF-8, which is specified in the  
globalization section in the Machine.config file that was created  
when the .NET Framework was installed. If response encoding is not  
specified in a Machine.config or Web.config file, encoding defaults  
to the Regional Options locale setting for the computer.

In single-server applications, this attribute and the  
responseEncoding attribute should be the same. For the less common  
case (multiple-server applications where the default server encodings  
are different), you can vary the request and response encoding by  
using local Web.config files.

It seems, that IIS/ASP.Net gives you the ability to use individual  
Web.config files to overwrite the default response encoding.

> Perhaps you should look at
>  http://httpd.apache.org/

Full ACK.

Hope, this helps.

Sierk Bornemann
email:            sierkb@gmx.de
WWW:              http://sierkbornemann.de/
Received on Wednesday, 27 June 2007 15:58:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:43 UTC