SimpleHelpers.Net
SimpleHelpers.Net copied to clipboard
CheckForByteOrderMark fails to recognize Unicode Little-Endian
I think you need add clause
else if (rawData[start + 1] == 0xfe && rawData[start] == 0xff)
{
// Encoding.Unicode (Little-Endian)
return true;
}
to CheckForByteOrderMark function.
@aktzbn sorry for the late reply. Could you submit a PR? thanks