Unicode Encoding Quotes

We've searched our database for all the quotes and captions related to Unicode Encoding. Here they are! All 1 of them:

byte[] utf8Bytes  = System.Text.Encoding.UTF8.GetBytes    ("0123456789"); byte[] utf16Bytes = System.Text.Encoding.Unicode.GetBytes ("0123456789"); byte[] utf32Bytes = System.Text.Encoding.UTF32.GetBytes   ("0123456789"); Console.WriteLine (utf8Bytes.Length);    // 10 Console.WriteLine (utf16Bytes.Length);   // 20 Console.WriteLine (utf32Bytes.Length);   // 40
Joseph Albahari (C# 5.0 in a Nutshell: The Definitive Reference)