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. General Programming
  3. C#
  4. Getting the relevent letter for unicode.

Getting the relevent letter for unicode.

Scheduled Pinned Locked Moved C#
csharptutorial
3 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.
  • P Offline
    P Offline
    prasadbuddhika
    wrote on last edited by
    #1

    i have got some unicode values , i need to get the relevant string(letters) from that, i tried with .net encoding , but didn't find a way . any idea how to get it. thanx in advance.

    L 2 Replies Last reply
    0
    • P prasadbuddhika

      i have got some unicode values , i need to get the relevant string(letters) from that, i tried with .net encoding , but didn't find a way . any idea how to get it. thanx in advance.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      There is nothing to encode, a Unicode value is already a letter so it can be displayed directly.

      I must get a clever new signature for 2011.

      1 Reply Last reply
      0
      • P prasadbuddhika

        i have got some unicode values , i need to get the relevant string(letters) from that, i tried with .net encoding , but didn't find a way . any idea how to get it. thanx in advance.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        prasadbuddhika wrote:

        i have got some unicode values

        You mean an array with bytes that represent characters? Something like this[^];

        String myText = System.Text.Encoding.Unicode.GetString(myBuffer);

        I are Troll :suss:

        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