Skip to content

CheckForByteOrderMark fails to recognize Unicode Little-Endian #13

Description

@aktzbn

I think you need add clause

            else if (rawData[start + 1] == 0xfe && rawData[start] == 0xff)
            {
                // Encoding.Unicode (Little-Endian)
                return true;
            }

to CheckForByteOrderMark function.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions