utf-16

  1. A

    Question Unicode (utf16) to win-1251

    Hi. I'm trying to decode string from unicode (utf-16) to windows-1251. string b = "Ó382ÍÎ76"; Encoding win1251 = Encoding.GetEncoding(1251); byte[] uniByte = Encoding.Unicode.GetBytes(b); textBox1.Text = win1251.GetString(uniByte); On microsoft doc said that "GetString(Byte[]) When overridden...
Top Bottom