Here's how we write the same string with UTF-16:
using System;
using System.IO;
using System.Linq;
using System.Text;
class Program
{
static void Main()
{
using (Stream s = File.Create("text.txt"))
using (TextWriter w = new StreamWriter(s, Encoding.Unicode))
w.WriteLine("but-");
foreach (byte b in File.ReadAllBytes("but.txt"))
Console.WriteLine(b);
}
}