Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support mixed encodings in MTF files #6

Closed
juk0de opened this issue Jul 18, 2024 · 0 comments · Fixed by #7
Closed

Support mixed encodings in MTF files #6

juk0de opened this issue Jul 18, 2024 · 0 comments · Fixed by #7
Assignees
Labels
enhancement New feature or request

Comments

@juk0de
Copy link
Owner

juk0de commented Jul 18, 2024

For unknown reasons, MTF files are encoded in different formats. Most are pure ASCII, but some contain UTF-8 characters, while others contain CP-1252 (also known as Windows-1252) characters. Currently, this causes exceptions when trying to read a file with the wrong format.

Examples:

  • "Atlas AS7-K" : contains UTF-8 characters
  • "Zeus X ZEU-X": contains CP-1252 characters
@juk0de juk0de added the enhancement New feature or request label Jul 18, 2024
@juk0de juk0de self-assigned this Jul 18, 2024
@juk0de juk0de added this to the Convert all Biped Mechs milestone Jul 18, 2024
juk0de added a commit that referenced this issue Jul 18, 2024
@juk0de juk0de changed the title Support different encodings for MTF files Support mixed encodings in MTF files Jul 18, 2024
@juk0de juk0de closed this as completed in #7 Jul 19, 2024
@juk0de juk0de closed this as completed in 75918ed Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant