Skip to content

shell: default to latin1 instead of utf-8 encoding#41

Merged
mkobetic merged 1 commit intomainfrom
shell-encoding
Feb 13, 2026
Merged

shell: default to latin1 instead of utf-8 encoding#41
mkobetic merged 1 commit intomainfrom
shell-encoding

Conversation

@mkobetic
Copy link
Owner

Fixes #34

UTF-8 encoding is not fully compatible with AmForth's single byte characters, where every byte value is considered valid.
Latin-1 is probably the most sensible default as a single byte encoding.

New --encoding option allows overriding the latin-1 default.

@mkobetic mkobetic merged commit 09ebb3e into main Feb 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

shell: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfe in position 0: invalid start byte

1 participant