Thank you very much, I've found it.
Could you please help me a little further?
This is what I have for globalization:
<globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
I need UTF-8. However, the only encoding that works for me is "UTF-8 with
signature". If I save an aspx file as "UTF-8 without signature" - it doesn't
work.
I have a web site in Russian. For the reason unknown to me the Cyrillic
encoding that I use in HTML files doesn't work in ASPX pages. "UTF-8 with
signature" is the only encoding that displays Russian characters correctly
on the web site. This is probably because my web hosting provider doesn't
have Cyrillic support enabled, since on my computer Cyrillic encoding works
OK. However, I never have this problem with HTML pages.
So is there any way to differentiate in the machine.config file between
UTF-8 with and without signature?
Thank you,
Peter
[quoted text, click to view] "Ed Kaim [MSFT]" <edkaim@online.microsoft.com> wrote in message
news:e2oU7xuFEHA.2560@TK2MSFTNGP12.phx.gbl...
> Check in
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config".
There
> is a section under <System.Web> for <globalization> where you can set
> encoding.
>
> "Peter Afonin" <pva@speakeasy.net> wrote in message
> news:OVH6eytFEHA.712@tk2msftngp13.phx.gbl...
> > Hello:
> >
> > How to set the default encoding for aspx pages? I've done it somehow
long
> > time ago in VS.Net 2002, now I cannot figure out how to do it in VS.Net
> > 2003. I tried VS.Net options, project options - couldn't find anything.
> >
> > I would appreciate your help.
> >
> > Thank you,
> >
> > --
> > Peter Afonin
> >
> >
>
>