// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; using System.IO; using System.Text; public class MainClass { public static void Main(string[] args) { Console.WriteLine(Console.Out.Encoding.CodePage); Console.WriteLine("ÆØÅæøå"); StreamWriter sw = new StreamWriter(Console.OpenStandardOutput(), Encoding.GetEncoding(850)); sw.AutoFlush = true; sw.WriteLine("ÆØÅæøå"); sw.Close(); } }