Skip to content

Conversion from bytes to characters is erroneous for source files containing a byte-order mark (BOM) #329

Description

@Occams

Image

  • An existing BOM must be skipped (offset): System.Length(Encoding.GetPreamble())
  • Actual count of bytes to read must be adjusted: Size - System.Length(Encoding.GetPreamble()

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