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. Special character Diplay problem

Special character Diplay problem

Scheduled Pinned Locked Moved ASP.NET
helpquestion
5 Posts 3 Posters 1 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
    Syed Shahid Hussain
    wrote on last edited by
    #1

    Hei, I've some special characters like æ ø å and when I use these chars it display correct in the label but when i bind that field with a Gv they are converted in to ø or any other number at the place of 248. What is the solution for this problem. Thanks

    Syed Shahid Hussain

    B S 2 Replies Last reply
    0
    • S Syed Shahid Hussain

      Hei, I've some special characters like æ ø å and when I use these chars it display correct in the label but when i bind that field with a Gv they are converted in to ø or any other number at the place of 248. What is the solution for this problem. Thanks

      Syed Shahid Hussain

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      To handle special characters,you can use javascript functions escape() and unescape() to encode and decode.this will allow to display the special characters

      Cheers!! Brij

      S 1 Reply Last reply
      0
      • S Syed Shahid Hussain

        Hei, I've some special characters like æ ø å and when I use these chars it display correct in the label but when i bind that field with a Gv they are converted in to ø or any other number at the place of 248. What is the solution for this problem. Thanks

        Syed Shahid Hussain

        S Offline
        S Offline
        Sandeep Mewara
        wrote on last edited by
        #3

        Just, set the HtmlEncode property of your BoundField to False. Like:

         htmlencode="false" />
        
        S 1 Reply Last reply
        0
        • S Sandeep Mewara

          Just, set the HtmlEncode property of your BoundField to False. Like:

           htmlencode="false" />
          
          S Offline
          S Offline
          Syed Shahid Hussain
          wrote on last edited by
          #4

          Hei Thanks a lot Sandeep Mewara You had solved my problem. for u :rose:

          Syed Shahid Hussain

          1 Reply Last reply
          0
          • B Brij

            To handle special characters,you can use javascript functions escape() and unescape() to encode and decode.this will allow to display the special characters

            Cheers!! Brij

            S Offline
            S Offline
            Syed Shahid Hussain
            wrote on last edited by
            #5

            Thanks Brij

            Syed Shahid Hussain

            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