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

Implement Additional Codepages #25

Open
zachzurn opened this issue Sep 29, 2024 · 1 comment
Open

Implement Additional Codepages #25

zachzurn opened this issue Sep 29, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@zachzurn
Copy link
Owner

Currently the project only supports utf8 strings.

We should be adding character page support. In order to do that, we need to be able to keep track of the current code page in the context and then decode any strings with the codepage, into utf8.

Ideally we have simple arrays of unicode strings for each codepage and we grab the character from the array based on the decimal value of the byte.

@zachzurn zachzurn added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Sep 29, 2024
@zachzurn
Copy link
Owner Author

Code pages have been implemented and are on the main branch but with a limited number of codepages.

We are still looking for help on generating and verifying the rest of the codepages. See Code Page Support for how you can contribute.

You can see an example of the test file here.
code_pages thermal

@zachzurn zachzurn changed the title Implement Codepages Implement Additional Codepages Oct 16, 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 good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant