Skip to content

Remove file encoding guessing from DATFile #21

@pixeldesu

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions