Encoding ascii = ASCIIEncoding.Default; Encoding utf8 = Encoding.UTF8; byte unicodeBytes = ascii.GetBytes(editText); byte utf8Bytes = Encoding.Convert(ascii, utf8, unicodeBytes); editText = ""; foreach (byte ch in utf8Bytes) editText += (char)ch;
byte unicodeBytes = ascii.GetBytes(editText);
byte utf8Bytes = Encoding.Convert(ascii, utf8, unicodeBytes); editText = ""; foreach (byte ch in utf8Bytes) editText += (char)ch;
עריכה:הנה תמונה: