Convert Byte[] to UTF8 Encoded String 05 Dec 2007 byte[] 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);
Converting UTF8 Encoded String to Bytes[] 05 Dec 2007 1 min read string I think every developer faced this problem of converting Unicode encoded string to Bytes[] . But .Net Framework has a very rich support for converting Encoded String to Bytes[]. .Net Framework support following 4