0

I have to convert unicode strings to normal strings.

for an example, convert this: "\u05e0\u05d9\u05e8\u05d5\u05d5" to: "נירוו" (hebrew letters).

that's what i already tried:

        private string Convert(string S)
    {
        return Encoding.UTF8.GetString(new UnicodeEncoding().GetBytes(S));
    }

it returns wierd characters. for example: �����

How can i do it in c# ?

Thanks.

user2153436
  • 81
  • 1
  • 1
  • 7

0 Answers0