Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Problems parsing parameters through Request.QueryString

Problems parsing parameters through Request.QueryString

Scheduled Pinned Locked Moved ASP.NET
databasetutorialdesignjsonhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Segal
    wrote on last edited by
    #1

    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!

    P 1 Reply Last reply
    0
    • S Segal

      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!

      P Offline
      P Offline
      Philip Patrick
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups