Problems parsing parameters through Request.QueryString
-
I have developed an web UI applications which will access data from SQL DB, and in which, there are certain tables store Chinese charactors. When I retrieve those Chinese charators from DB and bind them to my UI page, it looks OK. However, when I pass those charactors from one module to another by using window.navigate(xxxx) and use Request.QueryString(xxx) to receive, I found certain charactors are not receiving correctly, for example, if there are 5 Chinese words on that string, and after QueryString(xxx), I only got 4 of them, etc. This problem happened on my machine running windowXP, but OK with Window2000. Does anybody encounter the similar problem and have better ideas how to prevent it? Thanks!
-
I have developed an web UI applications which will access data from SQL DB, and in which, there are certain tables store Chinese charactors. When I retrieve those Chinese charators from DB and bind them to my UI page, it looks OK. However, when I pass those charactors from one module to another by using window.navigate(xxxx) and use Request.QueryString(xxx) to receive, I found certain charactors are not receiving correctly, for example, if there are 5 Chinese words on that string, and after QueryString(xxx), I only got 4 of them, etc. This problem happened on my machine running windowXP, but OK with Window2000. Does anybody encounter the similar problem and have better ideas how to prevent it? Thanks!
Have you encoded them? In Javascript you can do it by calling
encode(string)
function, only then append to url (do not encode the whole url, just the parameters) Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer