Skip to content
This repository was archived by the owner on Jun 14, 2026. It is now read-only.
This repository was archived by the owner on Jun 14, 2026. It is now read-only.

Remove file encoding guessing from DATFile #21

Description

@pixeldesu

With using Stream in the constructor we can't even pass a file name anymore, aside that we've been guessing it anyway.

Move guessing of encoding to PangLib.Utilities instead, so people don't have to search for the encodings themself.

To Do:

  • Add Encoding to DATFile constructor
  • Move GetEncodingFromFileName to a static helper inside PangLib.Utilities

Metadata

Metadata

Assignees

No one assigned

    Labels

    PangLib.DATIssues regarding PangLib.DATPangLib.UtilitiesIssues regarding PangLib.UtilitiesrefactoringRefactor related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions