thermal icon indicating copy to clipboard operation
thermal copied to clipboard

Implement Additional Codepages

Open zachzurn opened this issue 1 year ago • 1 comments
trafficstars

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 avatar Sep 29 '24 03:09 zachzurn

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 avatar Sep 30 '24 07:09 zachzurn