if (bom[0] == 0xef && bom[1] == 0xbb && bom[2] == 0xbf) // BOM Check
{
encodingType = Encoding.UTF8;// UTF8 Returns
}
I saved file as UTF8 Encoding, But this part is being skipped always
if (bom[0] == 0xef && bom[1] == 0xbb && bom[2] == 0xbf) // BOM Check
{
encodingType = Encoding.UTF8;// UTF8 Returns
}
I saved file as UTF8 Encoding, But this part is being skipped always