Hi, why not leave the web.config configuration? What you have to do is to add the UTF-8 use in the HTML header, something like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Ajax.NET Professional Examples</title> <link rel="stylesheet" type="text/css" href="css/main.css"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head> <body> </body> </html> Regards, Michael On 5/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Sorry for my english :) > > In my "web.config" i've set requestEncoding="Windows-1251" and > responseEncoding="Windows-1251". > AjaxPro returns data with "Content-Type: text/plain; charset=utf-8" in > the header. But the strings in Russian language (and all content) > returns encoded with Windows-1251. So the IE fails to show content > (Opera and Firefox works fine). > > Why content not encoded with UTF-8 ? Some of my handlers return data > with "context.Response.ContentEncoding = System.Text.Encoding.UTF8;" > and it works. > > If in "web.config" set "responseEncoding="UTF-8" all works fine. > > > > > -- Best regards | Sch�ne Gr��e Michael Microsoft MVP - Most Valuable Professional Microsoft MCAD - Certified Application Developer http://weblogs.asp.net/mschwarz/ http://www.schwarz-interactive.de/ mailto:[EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info -~----------~----~----~----~------~----~------~--~---
