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

Should scrolling/printing out-of-range characters on the display be an "error glyph" #425

Open
microbit-carlos opened this issue Apr 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@microbit-carlos
Copy link
Collaborator

microbit-carlos commented Apr 5, 2024

This might be considered a breaking change, and so, we might not want to change this.

The issue is that when trying to scroll or print UTF-8 long characters, like , we end up with 3 empty characters (UTF-8 encoding is 0xEAB08E), which might make it look like the screen animation has ended.

Having an "error character" instead of a white space means that at least it shows something unexpected but a bit more obvious, that doesn't resemble a latin letter.
My first thought would be that people might already be used to see squares or the replacement character .

@microbit-carlos
Copy link
Collaborator Author

@JohnVidler suggested we could also have this a config option with space by default.

@microbit-carlos
Copy link
Collaborator Author

Some discussion about a possible implementation if we decide to do this:

@microbit-carlos microbit-carlos added the enhancement New feature or request label Apr 17, 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

No branches or pull requests

1 participant