Joined: 16 Apr 2008
|Posted: Wed Apr 16, 2008 2:10 pm Post subject: httpRuntime.ProcessRequest
I am working on a large web application and am trying for multilingual options
We have Gobal resource files and there seems an issue with "HttpRuntime.ProcessRequest"
We are using " HttpRuntime.ProcessRequest" to proces the aspx pages. However, what is happening is that all the Non-English alphabets are automatically changed at run time and we get a totally different word.
Foreg: in French, Created On is writen as " Créé le ". owever, after it goes through HttpRuntime.ProcessRequest, the word that we get is "CrÃ©Ã© le ". That is, " é " is changed to " Ã© " automatically. This is not all, there are lots of changes like this that happens at runtime.
Can anyone tell me if you have com accros this before or whether we have a fix or atleast on how to try debugging this ?
Is there a possiility that we have an issuewith the aspx page itself or is there anything in an aspx page that cause this issue ?
The sample codein the ASPXLoader.cs looks like this :
public static object GenerateHTML(string strASPXFile, string strQueryString, bool bIncludeExternalScripts, bool bDetectLoad, bool isListbar)
StringBuilder sb = new StringBuilder();
HtmlTextWriter tw = new HtmlTextWriter(new StringWriter(sb));
BRSimpleWorkerRequest swr = new BRSimpleWorkerRequest(strASPXFile, strQueryString, tw);
HttpContext ctx = new HttpContext(swr);
Plz help !!!!!!!!!!!!!!!!!!!!!!!!!
Thanks and Regards