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. how can set character set in asp.net ?

how can set character set in asp.net ?

Scheduled Pinned Locked Moved ASP.NET
helpquestioncsharpasp-netxml
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.
  • B Offline
    B Offline
    B A
    wrote on last edited by
    #1

    hi i create an asp.net page that get a series of input in xml when a request created. one of this parameter is "Message" parameter. my problem is when user send a message in unicode can not get it correctly. (i get ????? text instead of correct text). how can i correct it. i think that must set character set. i change in Web.config as follow : but my problem exist so!!!!!!!!!!!!!!!! can you help me?

    G 1 Reply Last reply
    0
    • B B A

      hi i create an asp.net page that get a series of input in xml when a request created. one of this parameter is "Message" parameter. my problem is when user send a message in unicode can not get it correctly. (i get ????? text instead of correct text). how can i correct it. i think that must set character set. i change in Web.config as follow : but my problem exist so!!!!!!!!!!!!!!!! can you help me?

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      How do you get the input? What do you use to read the data from the xml format? How is the xml encoded? As UTF-8?

      --- "Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things." -- Douglas Adams

      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