Convert Byte[] to UTF8 Encoded String

December 5, 2007


Ah! Just forgot to mention how to convert a Byte[] to UTF8 Encoded string. Here we go –
string str = System.Text.Encoding.UTF8.GetString(bytes);