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

Improve UTF-8 support #267

Merged
merged 8 commits into from
Nov 6, 2021
Merged

Improve UTF-8 support #267

merged 8 commits into from
Nov 6, 2021

Conversation

vinc
Copy link
Owner

@vinc vinc commented Nov 5, 2021

MOROS started with only ASCII but it supports AZERTY keyboards that have accented keys that break the assumption that a character in a string takes only one byte. This PR change the console IO, the prompt, and the editor to work on character vectors (equivalent to UTF-32) instead of strings (UTF-8).

It is good enough for Latin languages but more work is needed to fully support UTF-8. We'll also need to read the unicode table at the end of PCF fonts and improve rendering.

@vinc vinc marked this pull request as ready for review November 6, 2021 08:22
@vinc vinc merged commit 0093e8f into trunk Nov 6, 2021
@vinc vinc deleted the feature/utf8-support branch November 6, 2021 09:31
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.

1 participant