using System;
using System.Text;
class UTF8EncodingExample {
public static void Main() {
UTF8Encoding utf8 = new UTF8Encoding();
String unicodeString ="\u03a3";
Byte[] encodedBytes = utf8.GetBytes(unicodeString);
foreach (Byte b in encodedBytes) {
Console.Write("[{0}]", b);
}
String decodedString = utf8.GetString(encodedBytes);
Console.WriteLine(decodedString);
}
}