i am trying to assign Unicode on string but it return "Привет" string as "Привет" But i need "Привет", i am converting by following function .
public string Convert(string str)
{
byte[] utf8Bytes = Encoding.UTF8.GetBytes(str);
str = Encoding.UTF8.GetString(utf8Bytes);
return str;
}
what can i do for solve this problem to return "Привет".