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. Problem with unicode characters

Problem with unicode characters

Scheduled Pinned Locked Moved ASP.NET
databasesql-servercomsysadminhelp
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.
  • G Offline
    G Offline
    gottimukkala
    wrote on last edited by
    #1

    Hi I have webservice which retrieves the users data from sql server. If one of the user uploads a doc with a small rectangle in the data retrived from database, my webservice is failing. Could any one please tell me, how can remove those Unicode characters before returning results. Thanks in advance,

    -- http://ashakthi.blogspot.com http://kids-articles.blogspot.com

    M 1 Reply Last reply
    0
    • G gottimukkala

      Hi I have webservice which retrieves the users data from sql server. If one of the user uploads a doc with a small rectangle in the data retrived from database, my webservice is failing. Could any one please tell me, how can remove those Unicode characters before returning results. Thanks in advance,

      -- http://ashakthi.blogspot.com http://kids-articles.blogspot.com

      M Offline
      M Offline
      MidwestLimey
      wrote on last edited by
      #2

      You'll either need to fix the webservice to work fully with unicode or you'll need to convert the string retrieved from the database into an encoding your webservice can work with. Take a look at the various encoding classes under System.Text.

      10110011001111101010101000001000001101001010001010100000100000101000001000111100010110001011001011

      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