Stream inputStream = Console.OpenStandardInput(); byte[] bytes = new byte[120000]; // richTextBox1.AppendText("To decode, type or paste the UTF7 encoded string and press enter:"); //richTextBox1.AppendText("(Example: \"M+APw-nchen ist wundervoll\")"); int outputLength = inputStream.Read(bytes, 0, 120000); char[] chars = Encoding.UTF7.GetChars(bytes, 0, outputLength); // Console.WriteLine(new string(chars)); // richTextBox1.AppendText(new string(chars)); txtEncodeData.Text = new string(chars);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)