Configure IIS 6 to ISO-8859-1 for classic ASP?

Configure IIS 6 to ISO-8859-1 for classic ASP?

am 11.04.2008 22:10:07 von bladewalker

I understand that in order to have IIS 6 serve up iso-8859-1 for your
ASP.NET application, you need to have the following in your
web.config, or adjust those properties in the ASP.NET tab of your web
site's IIS properties:

[ globalization requestEncoding="iso-8859-1"
responseEncoding="utf-8" /]

....but this does not seem to affect classic ASP running on IIS 6.
Classic ASP pages are being served up as UTF-8 by default (regardless
of the meta tag setting in the page).

How do I configure IIS 6 to serve up iso-8859-1 for classic ASP?

Many thanks!

Walker

Re: Configure IIS 6 to ISO-8859-1 for classic ASP?

am 15.04.2008 08:56:41 von Kristofer Gafvert

Is it possible that you have saved the asp file as UTF-8 and then try to say
that it is ISO-8859-1, which obviously will not work very well?

I also dont understand your example in ASP.NET. You have set the
requestEncoding property to iso-8859-1 and responseEncoding to utf-8, but
you want to _serve_ files (i.e. the responses) as iso-8859-1. So i am not
really clear what we are talking about...

You don't need to do anything in IIS to tell the client that the content is
in iso-8859-1. You usually tell the client that by using the html charset
header. But that will of course not work any good if the content actually is
in UTF-8 (because it was saved like that).

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


skrev i meddelandet
news:12945083-8685-45ae-9c76-bbc2ea70f893@h1g2000prh.googleg roups.com...
>I understand that in order to have IIS 6 serve up iso-8859-1 for your
> ASP.NET application, you need to have the following in your
> web.config, or adjust those properties in the ASP.NET tab of your web
> site's IIS properties:
>
> [ globalization requestEncoding="iso-8859-1"
> responseEncoding="utf-8" /]
>
> ...but this does not seem to affect classic ASP running on IIS 6.
> Classic ASP pages are being served up as UTF-8 by default (regardless
> of the meta tag setting in the page).
>
> How do I configure IIS 6 to serve up iso-8859-1 for classic ASP?
>
> Many thanks!
>
> Walker