praveen -
Joined: 16 Apr 2008 Posts: 1
|
Posted: Wed Apr 16, 2008 2:10 pm Post subject: httpRuntime.ProcessRequest |
|
|
Hi...
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);
HttpRuntime.ProcessRequest(swr);
tw.Flush();
tw.Close();
Plz help !!!!!!!!!!!!!!!!!!!!!!!!!
Thanks and Regards |
|